Module Delegator::MethodDelegation
In: lib/delegate.rb

Methods

Public Class methods

Pass in the obj to delegate method calls to. All methods supported by obj will be delegated to.

Public Instance methods

Returns true if two objects are considered same.

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

This method must be overridden by subclasses and change the object delegate to obj.

Clone support for the object returned by __getobj__.

Duplication support for the object returned by __getobj__.

Returns true only if two objects are identical.

Serialization support for the object returned by __getobj__.

Reinitializes delegation from a serialized object.

Handles the magic of delegation through __getobj__.

Checks for a method provided by this the delegate object by fowarding the call through __getobj__.

[Validate]

ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.