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.
132 133 134 |
# File 'lib/evalhook.rb', line 132 def initialize(value) @value = value end |
Instance Method Details
#call(*args) ⇒ Object
135 136 137 |
# File 'lib/evalhook.rb', line 135 def call(*args) @value end |