class RSpec::Core::Hooks::HookCollection
@private
def for(example_or_group)
def for(example_or_group) self.class. new(hooks.select {|hook| hook.options_apply?(example_or_group)}). with(example_or_group) end
def run
def run hooks.each {|h| h.run(@example)} end
def with(example)
def with(example) @example = example self end