Class: EvalHook::HookHandler::HookedCallValue

Inherits:
Object
  • Object
show all
Defined in:
lib/evalhook.rb

Instance Method Summary collapse

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