Class: EvalHook::HookHandler::HookedCallValue
- Inherits:
-
Object
- Object
- EvalHook::HookHandler::HookedCallValue
- Defined in:
- lib/evalhook.rb
Instance Method Summary collapse
- #call(*args) ⇒ Object
-
#initialize(value) ⇒ HookedCallValue
constructor
A new instance of HookedCallValue.
Constructor Details
#initialize(value) ⇒ HookedCallValue
Returns a new instance of HookedCallValue.
139 140 141 |
# File 'lib/evalhook.rb', line 139 def initialize(value) @value = value end |
Instance Method Details
#call(*args) ⇒ Object
142 143 144 |
# File 'lib/evalhook.rb', line 142 def call(*args) @value end |