module RSpec::Core::Hooks
def after(*args, &block)
- Note: - The `:suite` scope is only supported for hooks registered on
Note: - The `:example` and `:context` scopes are also available as
Other tags:
- See: Configuration -
See: SharedExampleGroup -
See: SharedContext -
See: ExampleGroup -
See: #around -
See: #before -
Parameters:
-
conditions(Hash) -- -
conditions(Hash) -- -
scope(Symbol) -- `:example`, `:context`, or `:suite` (defaults to -
scope(Symbol) -- `:example`, `:context`, or `:suite` (defaults to
Overloads:
-
after(conditions, &block) -
after(scope, conditions, &block) -
after(scope, &block) -
after(&block)
Other tags:
- Api: - public
def after(*args, &block) hooks.register :prepend, :after, *args, &block end