# File lib/rspec/core/hooks.rb, line 61 def for(example_or_group) self.class.new(select {|hook| hook.options_apply?(example_or_group)}). with(example_or_group) end