Methods

Class/Module Index [+]

Quicksearch

RSpec::Core::Hooks::AfterContextHook

@private

Public Instance Methods

run(example) click to toggle source
# File lib/rspec/core/hooks.rb, line 362
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(:context)` hook.  #{e.class}: #{e.message}  occurred at #{e.backtrace.first}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.