Class: RSpec::Core::Hooks::AfterContextHook
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb
Instance Attribute Summary
Attributes inherited from Hook
Instance Method Summary collapse
Methods inherited from Struct
Instance Method Details
#run(example) ⇒ Object
380 381 382 383 384 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-core-3.12.0/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 |