class Cucumber::StepMother::Hook
def execute_in(world, scenario, location, exception_fails_scenario = true)
def execute_in(world, scenario, location, exception_fails_scenario = true) begin world.cucumber_instance_exec(false, location, scenario, &@proc) rescue Exception => exception if exception_fails_scenario scenario.fail!(exception) else raise end end end