Mini Shell
--- !ruby/object:RI::ClassDescription
attributes: []
class_methods: []
comment:
- !ruby/struct:SM::Flow::P
body: "The SingleForwardable module provides delegation of specified methods to a designated object, using the methods #def_delegator and #def_delegators. This module is similar to Forwardable, but it works on objects themselves, instead of their defining classes."
- !ruby/struct:SM::Flow::P
body: Also see the example at forwardable.rb.
constants: []
full_name: SingleForwardable
includes: []
instance_methods:
- !ruby/object:RI::MethodSummary
name: def_delegator
- !ruby/object:RI::MethodSummary
name: def_delegators
- !ruby/object:RI::MethodSummary
name: def_singleton_delegator
- !ruby/object:RI::MethodSummary
name: def_singleton_delegators
name: SingleForwardable
superclass:
Zerion Mini Shell 1.0