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

Methods

[]   []=   new  

Included Modules

MonitorMixin

Public Class methods

[Source]

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

Public Instance methods

[Source]

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

[Source]

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

[Validate]

ruby-doc.org is a service of James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.