Class: Mammoth::DeliveryProgressCoordinator::Group
- Inherits:
-
Object
- Object
- Mammoth::DeliveryProgressCoordinator::Group
- Defined in:
- lib/mammoth/delivery_progress_coordinator.rb
Overview
Mutable source transaction tracked by the coordinator.
Instance Attribute Summary collapse
-
#closed ⇒ Object
Returns the value of attribute closed.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
Instance Method Summary collapse
-
#initialize(items:, closed:) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(items:, closed:) ⇒ Group
Returns a new instance of Group.
18 19 20 21 |
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 18 def initialize(items:, closed:) @items = items @closed = closed end |
Instance Attribute Details
#closed ⇒ Object
Returns the value of attribute closed.
14 15 16 |
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 14 def closed @closed end |
#items ⇒ Object (readonly)
Returns the value of attribute items.
13 14 15 |
# File 'lib/mammoth/delivery_progress_coordinator.rb', line 13 def items @items end |