Class: RSpec::Core::Hooks::AfterContextHook Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Hook ,
Struct
|
|
Instance Chain:
self,
Hook ,
Struct
|
|
Inherits: |
RSpec::Core::Hooks::Hook
|
Defined in: | rspec-core/lib/rspec/core/hooks.rb |
Instance Attribute Summary
Instance Method Summary
- #run(example) Internal use only
Instance Method Details
#run(example)
[ GitHub ]# File 'rspec-core/lib/rspec/core/hooks.rb', line 380
def run(example) example.instance_exec(example, &block) rescue Support::AllExceptionsExceptOnesWeMustNotRescue => e RSpec.configuration.reporter.notify_non_example_exception(e, "An error occurred in an `after(:context)` hook.") end