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



121
122
123
# File 'lib/hookr.rb', line 121

def remove_callback(hook_name, handle_or_index)
  fetch_or_create_hooks[hook_name].remove_callback(handle_or_index)
end