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.



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