Maintenance of Ruby 2.0.0 will end on February 24, 2016. Read more
Object
The GW provides a synchronized store for participants in the gateway to communicate.
Creates a new GW
# File drb/gw.rb, line 50 def initialize super() @hash = {} end
Retrieves key from the GW
key
# File drb/gw.rb, line 57 def [](key) synchronize do @hash[key] end end
Stores value v at key in the GW
v
# File drb/gw.rb, line 65 def []=(key, v) synchronize do @hash[key] = v end end
This page was generated for Ruby 2.0.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.33.0.