Skip to content

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_id

to_id(obj)

Convert an object into a reference id.

This implementation returns the object’s __id__ in the local object space.

See also #to_obj also in 3.3 · 3.2 · 3.0