module RSpec::Core::Hooks

def around(*args, &block)

Other tags:
    Note: - `:example`/`:each` is the only supported scope.
    Note: - the syntax of `around` is similar to that of `before` and `after`

Other tags:
    Yield: - the example to run

Parameters:
  • conditions (Hash) -- constrains this hook to examples matching
  • conditions (Array, Hash) -- constrains this hook to
  • scope (Symbol) -- `:example` (defaults to `:example`)
  • scope (Symbol) -- `:example` (defaults to `:example`)

Overloads:
  • around(conditions, &block)
  • around(scope, *conditions, &block)
  • around(scope, &block)
  • around(&block)

Other tags:
    Api: - public
def around(*args, &block)
  hooks.register :prepend, :around, *args, &block
end