# File lib/rspec/core/hooks.rb, line 130 def hooks @hooks ||= { :around => { :each => AroundHookCollection.new }, :before => { :each => HookCollection.new, :all => HookCollection.new, :suite => HookCollection.new }, :after => { :each => HookCollection.new, :all => HookCollection.new, :suite => HookCollection.new } }.extend(RegistersGlobals) end