Class DRb::DRbArray
In: drb/drb.rb
Parent: Object

Methods

_dump   _load   new  

Public Class methods

[Source]

# File drb/drb.rb, line 530
    def self._load(s)
      Marshal::load(s)
    end

[Source]

# File drb/drb.rb, line 515
    def initialize(ary)
      @ary = ary.collect { |obj| 
        if obj.kind_of? DRbUndumped
          DRbObject.new(obj)
        else
          begin
            Marshal.dump(obj)
            obj
          rescue
            DRbObject.new(obj)
          end
        end
      }
    end

Public Instance methods

[Source]

# File drb/drb.rb, line 534
    def _dump(lv)
      Marshal.dump(@ary)
    end

[Validate]

ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

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.