Class: Cucumber::Events::StepMatch
- Defined in:
- lib/cucumber/events/step_match.rb
Overview
Event fired when a step is matched to a definition
Instance Attribute Summary collapse
-
#step_match ⇒ Cucumber::StepMatch
readonly
Information about the matching definition.
-
#test_step ⇒ Cucumber::Core::Test::Step
readonly
The test step that was matched.
Instance Method Summary collapse
-
#initialize(test_step, step_match) ⇒ StepMatch
constructor
@private.
Constructor Details
#initialize(test_step, step_match) ⇒ StepMatch
@private
18 19 20 |
# File 'lib/cucumber/events/step_match.rb', line 18 def initialize(test_step, step_match) @test_step, @step_match = test_step, step_match end |
Instance Attribute Details
#step_match ⇒ Cucumber::StepMatch (readonly)
Information about the matching definition.
15 16 17 |
# File 'lib/cucumber/events/step_match.rb', line 15 def step_match @step_match end |
#test_step ⇒ Cucumber::Core::Test::Step (readonly)
The test step that was matched.
10 11 12 |
# File 'lib/cucumber/events/step_match.rb', line 10 def test_step @test_step end |