Class: Smith::Workflow::Composite::OutcomeAccumulator
- Inherits:
-
Object
- Object
- Smith::Workflow::Composite::OutcomeAccumulator
- Extended by:
- Dry::Initializer
- Defined in:
- lib/smith/workflow/composite/outcome_accumulator.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
23 24 25 26 27 28 |
# File 'lib/smith/workflow/composite/outcome_accumulator.rb', line 23 def call validate_array_count! initialize_accumulators each_outcome { insert!(_1) } complete_outcome_set end |