Method: Delegator#initialize
- Defined in:
- lib/delegate.rb
#initialize(obj) ⇒ Delegator
Pass in the obj to delegate method calls to. All methods supported by obj will be delegated to.
76 77 78 |
# File 'lib/delegate.rb', line 76 def initialize(obj) __setobj__(obj) end |