Class DRb::GW
In: lib/drb/gw.rb
Parent: Object

Methods

[]   []=   new  

Included Modules

MonitorMixin

Public Class methods

[Source]

    # File lib/drb/gw.rb, line 16
16:     def initialize
17:       super()
18:       @hash = {}
19:     end

Public Instance methods

[Source]

    # File lib/drb/gw.rb, line 21
21:     def [](key)
22:       synchronize do
23:         @hash[key]
24:       end
25:     end

[Source]

    # File lib/drb/gw.rb, line 27
27:     def []=(key, v)
28:       synchronize do
29:         @hash[key] = v
30:       end
31:     end

[Validate]