Class: Rubydoop::Context::Jobs::Parallel
- Inherits:
-
Rubydoop::Context::Jobs
- Object
- Rubydoop::Context::Jobs
- Rubydoop::Context::Jobs::Parallel
- Defined in:
- lib/rubydoop/dsl.rb
Instance Attribute Summary
Attributes inherited from Rubydoop::Context::Jobs
Instance Method Summary collapse
Methods inherited from Rubydoop::Context::Jobs
Constructor Details
This class inherits a constructor from Rubydoop::Context::Jobs
Instance Method Details
#wait_for_completion(verbose) ⇒ Object
437 438 439 440 441 442 443 |
# File 'lib/rubydoop/dsl.rb', line 437 def wait_for_completion(verbose) @jobs.map do |job| Thread.new do job.wait_for_completion(verbose) end end.map!(&:value).all? end |