DRb::GW (Class)

In: drb/gw.rb
Parent: Object

Methods

[]   []=   new  

Included Modules

MonitorMixin

Public Class methods

[Source]

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

Public Instance methods

[Source]

# File drb/gw.rb, line 23
    def [](key)
      synchronize do
        @hash[key]
      end
    end

[Source]

# File drb/gw.rb, line 29
    def []=(key, v)
      synchronize do
        @hash[key] = v
      end
    end

[Validate]