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.
120 121 122 |
# File 'lib/evalhook.rb', line 120 def initialize(value) @value = value end |
Instance Method Details
#call(*args) ⇒ Object
123 124 125 |
# File 'lib/evalhook.rb', line 123 def call(*args) @value end |