Parent

Class/Module Index [+]

Quicksearch

RSpec::Core::Hooks::HookCollection

Public Instance Methods

find_hooks_for(example_or_group) click to toggle source
# File lib/rspec/core/hooks.rb, line 59
def find_hooks_for(example_or_group)
  self.class.new(select {|hook| hook.options_apply?(example_or_group)})
end
without_hooks_for(example_or_group) click to toggle source
# File lib/rspec/core/hooks.rb, line 63
def without_hooks_for(example_or_group)
  self.class.new(reject {|hook| hook.options_apply?(example_or_group)})
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.