In Files

  • drb/gw.rb

Parent

Methods

Included Modules

DRb::GW

Public Class Methods

new() click to toggle source
 
               # File drb/gw.rb, line 16
def initialize
  super()
  @hash = {}
end
            

Public Instance Methods

[](key) click to toggle source
 
               # File drb/gw.rb, line 21
def [](key)
  synchronize do
    @hash[key]
  end
end
            
[]=(key, v) click to toggle source
 
               # File drb/gw.rb, line 27
def []=(key, v)
  synchronize do
    @hash[key] = v
  end
end