Class: Cucumber::Distrib::Events::Hook
- Inherits:
-
Object
- Object
- Cucumber::Distrib::Events::Hook
- 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(id) ⇒ Hook
constructor
A new instance of Hook.
Constructor Details
#initialize(id) ⇒ Hook
196 197 198 |
# File 'lib/cucumber/distrib/events.rb', line 196 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
194 195 196 |
# File 'lib/cucumber/distrib/events.rb', line 194 def id @id end |