Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Delegator#__getobj__

__getobj__

This method must be overridden by subclasses and should return the object method calls are being delegated to.

See also #freeze #marshal_dump #eql? #marshal_load also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0