Methods
N
T
Class Public methods
new()
# File sample/drb/name.rb, line 55
def initialize
  @dict = DRbNamedObject::DRbNAMEDICT
end
Instance Public methods
to_id(obj)
# File sample/drb/name.rb, line 63
def to_id(obj)
  if obj.kind_of? DRbNamedObject
    return obj.drb_name
  else
    return super
  end
end
to_obj(ref)
# File sample/drb/name.rb, line 59
def to_obj(ref)
  @dict.fetch(ref) do super end
end