class Cucumber::Runtime::StepHooks

def after_step_hooks(test_step)

def after_step_hooks(test_step)
  @hooks.map do |hook|
    action = ->(*args) { hook.invoke('AfterStep', [args, test_step]) }
    Hooks.after_step_hook(@id_generator.new_id, test_step, hook.location, &action)
  end
end