class Cucumber::StepMother::Hook
def execute_in(world, scenario, location)
def execute_in(world, scenario, location) world.cucumber_instance_exec(false, location, scenario, &@proc) end
def initialize(tag_names, proc)
def initialize(tag_names, proc) @tag_names = tag_names.map{|tag| Ast::Tags.strip_prefix(tag)} @proc = proc end
def matches_tag_names?(tag_names)
def matches_tag_names?(tag_names) @tag_names.empty? || (@tag_names & tag_names).any? end