Module: HookR::Hooks::CallbackHelpers
- Defined in:
- lib/hookr.rb
Overview
These methods are used at both the class and instance level
Instance Method Summary collapse
Instance Method Details
#remove_callback(hook_name, handle_or_index) ⇒ Object
135 136 137 |
# File 'lib/hookr.rb', line 135 def remove_callback(hook_name, handle_or_index) fetch_or_create_hooks[hook_name].remove_callback(handle_or_index) end |