class DRb::DRbObject
def self._load(s)
the object itself is returned. Otherwise, a new DRbObject is
If the referenced object is located within the local server, then
Unmarshall a marshalled DRbObject.
def self._load(s) uri, ref = Marshal.load(s) if DRb.here?(uri) obj = DRb.to_obj(ref) return obj end self.new_with(uri, ref) end