Class: Cucumber::Distrib::Events::Group
- Inherits:
-
Object
- Object
- Cucumber::Distrib::Events::Group
- 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
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(group) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(group) ⇒ Group
261 262 263 264 265 |
# File 'lib/cucumber/distrib/events.rb', line 261 def initialize(group) @start = group.start @value = group.value @children = group.children.map { |c| Group.new c } end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
259 260 261 |
# File 'lib/cucumber/distrib/events.rb', line 259 def children @children end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
259 260 261 |
# File 'lib/cucumber/distrib/events.rb', line 259 def start @start end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
259 260 261 |
# File 'lib/cucumber/distrib/events.rb', line 259 def value @value end |