# File lib/cucumber/filters/activate_steps.rb, line 40 def initialize(step_match_search, configuration, test_step) @step_match_search, @configuration, @test_step = step_match_search, configuration, test_step end
# File lib/cucumber/filters/activate_steps.rb, line 44 def result return NoStepMatch.new(test_step.source.last, test_step.name) unless matches.any? configuration.notify Events::StepMatch.new(test_step, match) return SkippingStepMatch.new if configuration.dry_run? match end
# File lib/cucumber/filters/activate_steps.rb, line 56 def match matches.first end
# File lib/cucumber/filters/activate_steps.rb, line 60 def matches step_match_search.call(test_step.name) end