If the referenced object is located within the local server, then the
object itself is returned. Otherwise, a newDRbObject is created to act as a stub for the
remote referenced object.
# File lib/drb/drb.rb, line 1021
def self._load(s)
uri, ref = Marshal.load(s)
if DRb.here?(uri)
obj = DRb.to_obj(ref)
if ((! obj.tainted?) && Thread.current[:drb_untaint])
Thread.current[:drb_untaint].push(obj)
end
return obj
end
self.new_with(uri, ref)
end