Method: ThreadParty#sequentially
- Defined in:
- lib/threadparty.rb
#sequentially ⇒ Object Also known as: conga
Perform XYZ one after another, returning nothing.
32 33 34 35 36 37 38 |
# File 'lib/threadparty.rb', line 32 def sequentially result = [] @to_process.each do |party| result << party.execute end result.flatten end |