Method: Spec::Runner::Configuration#append_after
- Defined in:
- lib/spec/runner/configuration.rb
permalink #append_after(scope = :each, options = {}, &proc) ⇒ Object
Appends a global after
block to all example groups.
See append_before
for scoping semantics.
123 124 125 |
# File 'lib/spec/runner/configuration.rb', line 123 def append_after(scope = :each, ={}, &proc) add_callback(:append_after, scope, , &proc) end |