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



128
129
130
# File 'lib/hookr.rb', line 128

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