class DRb::WeakIdConv
def initialize()
def initialize() super() @weak_set = WeakSet.new end
def to_id(obj) # :nodoc:
def to_id(obj) # :nodoc: return @weak_set.add(obj) end
def to_obj(ref) # :nodoc:
def to_obj(ref) # :nodoc: return super if ref.nil? @weak_set.fetch(ref) end