Class: Cucumber::Core::Events::TestStepCreated
- Defined in:
- lib/cucumber/core/events/test_step_created.rb
Overview
Signals that a Test::Step was created from a PickleStep
Instance Attribute Summary collapse
-
#pickle_step ⇒ Object
readonly
Returns the value of attribute pickle_step.
-
#test_step ⇒ Object
readonly
Returns the value of attribute test_step.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_step, pickle_step) ⇒ TestStepCreated
constructor
A new instance of TestStepCreated.
Methods inherited from Base
Constructor Details
#initialize(test_step, pickle_step) ⇒ TestStepCreated
Returns a new instance of TestStepCreated.
16 17 18 19 20 |
# File 'lib/cucumber/core/events/test_step_created.rb', line 16 def initialize(test_step, pickle_step) @test_step = test_step @pickle_step = pickle_step super() end |
Instance Attribute Details
#pickle_step ⇒ Object (readonly)
Returns the value of attribute pickle_step.
10 11 12 |
# File 'lib/cucumber/core/events/test_step_created.rb', line 10 def pickle_step @pickle_step end |
#test_step ⇒ Object (readonly)
Returns the value of attribute test_step.
10 11 12 |
# File 'lib/cucumber/core/events/test_step_created.rb', line 10 def test_step @test_step end |
Class Method Details
.event_id ⇒ Object
12 13 14 |
# File 'lib/cucumber/core/events/test_step_created.rb', line 12 def self.event_id :test_step_created end |