module RSpec::Core::Hooks

def after(*args, &block)

Other tags:
    See: Configuration -
    See: SharedExampleGroup -
    See: SharedContext -
    See: ExampleGroup -
    See: #around -
    See: #before -

Parameters:
  • conditions (Hash) --
  • scope (Symbol) -- `:each`, `:all`, or `:suite` (defaults to `:each`)

Overloads:
  • after(conditions, &block)
  • after(scope, conditions, &block)
  • after(scope, &block)
  • after(&block)

Other tags:
    Api: - public
def after(*args, &block)
  scope, options = scope_and_options_from(*args)
  hooks[:after][scope] << AfterHook.new(options, &block)
end