Class/Module Index [+]

Quicksearch

RSpec::Core::Hooks::RegistersGlobals

Public Instance Methods

register_globals(host, globals) click to toggle source
# File lib/rspec/core/hooks.rb, line 105
def register_globals host, globals
  [:before, :after, :around].each do |position|
    process host, globals, position, :each
    next if position == :around # no around(:all) hooks
    process host, globals, position, :all
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.