DRb::DRbArray (Class)

In: drb/drb.rb
Parent: Object

Methods

_dump   _load   new  

Public Class methods

[Source]

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

[Source]

# File drb/drb.rb, line 503
    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 522
    def _dump(lv)
      Marshal.dump(@ary)
    end

[Validate]