Class/Module Index [+]

Quicksearch

RSpec::Core::Hooks::AfterAllHook

Public Instance Methods

display_name() click to toggle source
# File lib/rspec/core/hooks.rb, line 53
def display_name
  "after(:all) hook"
end
run(example) click to toggle source
# File lib/rspec/core/hooks.rb, line 40
def run(example)
  example.instance_exec(example, &block)
rescue Exception => e
  # TODO: come up with a better solution for this.
  RSpec.configuration.reporter.message An error occurred in an after(:all) hook.  #{e.class}: #{e.message}  occurred at #{e.backtrace.first}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.