module RSpec::Core::Hooks

def find_hook(hook, scope, group)

def find_hook(hook, scope, group)
  hooks[hook][scope].select {|hook| hook.options_apply?(group)}
end