Method: DRb::DRbServer#to_obj

Defined in:
lib/drb/drb.rb

#to_obj(ref) ⇒ Object

Convert a dRuby reference to the local object it refers to.


1480
1481
1482
1483
1484
# File 'lib/drb/drb.rb', line 1480

def to_obj(ref)
  return front if ref.nil?
  return front[ref.to_s] if DRbURIOption === ref
  @idconv.to_obj(ref)
end