Support for the Ruby 2.4 series has ended. See here for reference.
Object
The GW provides a synchronized store for participants in the gateway to communicate.
GW
Creates a new GW
# File drb/gw.rb, line 51 def initialize super() @hash = {} end
Retrieves key from the GW
key
# File drb/gw.rb, line 58 def [](key) synchronize do @hash[key] end end
Stores value v at key in the GW
v
# File drb/gw.rb, line 66 def []=(key, v) synchronize do @hash[key] = v end end
This page was generated for Ruby 2.4.5
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.