class RSpec::Core::Hooks::HookCollection

def for(example_or_group)

def for(example_or_group)
  self.class.new(select {|hook| hook.options_apply?(example_or_group)}).
    with(example_or_group)
end

def run

def run
  each {|h| h.run(@example) } unless empty?
end

def with(example)

def with(example)
  @example = example
  self
end