End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
DRb.to_id
to_id(obj)
lib/drb/drb.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/drb/drb.rb, line 1854
def to_id(obj)
current_server.to_id(obj)
end
Get a reference id for an object using the current server.
This raises a DRbServerNotFound error if there is no current server. See current_server.