Method: Cucumber::Formatter::Query::StepDefinitionsByTestStep#initialize
- Defined in:
- lib/cucumber/formatter/query/step_definitions_by_test_step.rb
#initialize(config) ⇒ StepDefinitionsByTestStep
Returns a new instance of StepDefinitionsByTestStep.
9 10 11 12 13 14 15 |
# File 'lib/cucumber/formatter/query/step_definitions_by_test_step.rb', line 9 def initialize(config) @step_definition_ids_by_test_step_id = {} @step_match_arguments_by_test_step_id = {} config.on_event :test_step_created, &method(:on_test_step_created) config.on_event :step_activated, &method(:on_step_activated) end |