End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
DRb::DRbIdConv#to_obj
to_obj(ref)
lib/drb/drb.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/drb/drb.rb, line 365
def to_obj(ref)
ObjectSpace._id2ref(ref)
end
Convert an object reference id to an object.
This implementation looks up the reference id in the local object space and returns the object it refers to.