Class: Cucumber::Distrib::Events::StepActivated
- Inherits:
-
BaseTestStepEvent
- Object
- Event
- BaseTestStepEvent
- Cucumber::Distrib::Events::StepActivated
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Object that mimic Cucumber::Event::StepActivated on Leader for reporters.
Instance Attribute Summary collapse
-
#step_match ⇒ Object
readonly
Returns the value of attribute step_match.
Attributes inherited from BaseTestStepEvent
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(event) ⇒ StepActivated
constructor
A new instance of StepActivated.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ StepActivated
Returns a new instance of StepActivated.
324 325 326 327 |
# File 'lib/cucumber/distrib/events.rb', line 324 def initialize(event) super @step_match = StepMatch.new event.step_match end |
Instance Attribute Details
#step_match ⇒ Object (readonly)
Returns the value of attribute step_match.
321 322 323 |
# File 'lib/cucumber/distrib/events.rb', line 321 def step_match @step_match end |
Instance Method Details
#attributes ⇒ Object
329 330 331 |
# File 'lib/cucumber/distrib/events.rb', line 329 def attributes [test_step, step_match] end |