Class: Cucumber::Distrib::Events::BaseTestStepEvent
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Base class for converted TestStep events.
Direct Known Subclasses
StepActivated, TestStepCreated, TestStepFinished, TestStepStarted
Instance Attribute Summary collapse
-
#test_step ⇒ Object
readonly
Returns the value of attribute test_step.
Instance Method Summary collapse
-
#initialize(event) ⇒ BaseTestStepEvent
constructor
A new instance of BaseTestStepEvent.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ BaseTestStepEvent
Returns a new instance of BaseTestStepEvent.
117 118 119 120 |
# File 'lib/cucumber/distrib/events.rb', line 117 def initialize(event) super() @test_step = Cucumber::Distrib::Test.adapt_test_step(event.test_step) end |
Instance Attribute Details
#test_step ⇒ Object (readonly)
Returns the value of attribute test_step.
115 116 117 |
# File 'lib/cucumber/distrib/events.rb', line 115 def test_step @test_step end |