Ruby Delegator Functions
EditRocket provides the following information on Delegator functions in the Ruby source code builder.
marshal_dump() - Serialization support for the object returned by __getobj__.
marshal_load(obj) - Reinitializes delegation from a serialized object.
method_missing(m, *args) - Handles the magic of delegation through __getobj__.
new(obj) - Pass in the obj to delegate method calls to. All methods supported by obj will be delegated to.
respond_to?(m) - Checks for a method provided by this the delegate object by fowarding the call through __getobj__.