Class: Cucumber::Distrib::Events::StepDefinition
- Inherits:
-
Object
- Object
- Cucumber::Distrib::Events::StepDefinition
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
PORO wrapper of corresponding cucumber event for safe transportation to Leader over DRb.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(step_definition) ⇒ StepDefinition
constructor
A new instance of StepDefinition.
Constructor Details
#initialize(step_definition) ⇒ StepDefinition
Returns a new instance of StepDefinition.
251 252 253 254 |
# File 'lib/cucumber/distrib/events.rb', line 251 def initialize(step_definition) @id = step_definition.id @envelope = step_definition.to_envelope end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
249 250 251 |
# File 'lib/cucumber/distrib/events.rb', line 249 def id @id end |