Module: RSpec::Core::Hooks::AfterHookExtension
- Includes:
- HookExtension
- Defined in:
- lib/rspec/core/hooks.rb
Instance Attribute Summary
Attributes included from HookExtension
Instance Method Summary collapse
Methods included from HookExtension
Instance Method Details
#display_name ⇒ Object
38 39 40 |
# File 'lib/rspec/core/hooks.rb', line 38 def display_name "after hook" end |
#run(example) ⇒ Object
34 35 36 |
# File 'lib/rspec/core/hooks.rb', line 34 def run(example) example.instance_eval_with_rescue("in an after hook", &self) end |