Class: Cucumber::Distrib::Events::StepDefinitionRegistered
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Object that mimic Cucumber::Event::StepDefinitionRegistered on Leader for reporters.
Instance Attribute Summary collapse
-
#step_definition ⇒ Object
readonly
Returns the value of attribute step_definition.
Instance Method Summary collapse
-
#initialize(event) ⇒ StepDefinitionRegistered
constructor
A new instance of StepDefinitionRegistered.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ StepDefinitionRegistered
Returns a new instance of StepDefinitionRegistered.
339 340 341 342 |
# File 'lib/cucumber/distrib/events.rb', line 339 def initialize(event) super() @step_definition = StepDefinition.new event.step_definition end |
Instance Attribute Details
#step_definition ⇒ Object (readonly)
Returns the value of attribute step_definition.
336 337 338 |
# File 'lib/cucumber/distrib/events.rb', line 336 def step_definition @step_definition end |