class Cucumber::Core::Test::Mapper::StepMapper::DSL

 Passed to users in the mappings to define and add hooks to a step

def after(&block)

 Define a block of code to be run after the step
def after(&block)
  mapper.after_step_hooks << hook_factory.after_step(block)
  self
end

def before(&block)

def before(&block)
  mapper.before_step_hooks << hook_factory.before_step(block)
end

def map(&block)

 Define the step with a block of code to be executed
def map(&block)
  mapper.test_step = mapper.test_step.with_mapping(&block)
  self
end