Class: SimpleDelegator
Instance Method Summary
collapse
Methods inherited from Delegator
#initialize, #method_missing
Constructor Details
This class inherits a constructor from Delegator
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Delegator
Instance Method Details
#__getobj__ ⇒ Object
18
19
20
|
# File 'opal/stdlib/delegate.rb', line 18
def __getobj__
@delegate_sd_obj
end
|
#__setobj__(obj) ⇒ Object
22
23
24
|
# File 'opal/stdlib/delegate.rb', line 22
def __setobj__(obj)
@delegate_sd_obj = obj
end
|