Class: HookR::ExternalCallback
- Inherits:
-
BlockCallback
- Object
- Struct
- Callback
- BlockCallback
- HookR::ExternalCallback
- Defined in:
- lib/hookr.rb
Overview
A callback which will execute outside the event source
Instance Attribute Summary
Attributes inherited from BlockCallback
Attributes inherited from Callback
Instance Method Summary collapse
Methods inherited from BlockCallback
Methods inherited from Callback
Constructor Details
This class inherits a constructor from HookR::BlockCallback
Instance Method Details
#call(event) ⇒ Object
570 571 572 |
# File 'lib/hookr.rb', line 570 def call(event) block.call(*event.to_args(block.arity)) end |