# File lib/rspec/core/hooks.rb, line 88 def before(scope=:each, options={}, &block) hooks[:before][scope] << BeforeHook.new(options, block) end