module Spec::Example::BeforeAndAfterHooks

def append_before(scope = :each, &block)

run.
:all, the block is executed only once before any examples are
:each, the block is executed before each example. When
:each (default), :all, or :suite. When
Registers a block to be executed before examples. scope can be
def append_before(scope = :each, &block)
  before_parts(scope) << block
end