class Cucumber::Core::Test::Mapper::StepMapper::DSL
Passed to users in the mappings to define and add hooks to a step
def after(&block)
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)
def map(&block) mapper.test_step = mapper.test_step.with_mapping(&block) self end