Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/duke.rb,
lib/concurrently.rb
Instance Method Summary collapse
-
#concurrently(threshold = 100000) ⇒ Duke::Enumerable
We hook into array to be able to easily handle concurrent processing of each blocks.
Instance Method Details
#concurrently(threshold = 100000) ⇒ Duke::Enumerable
We hook into array to be able to easily handle concurrent processing of each blocks.
21 22 23 |
# File 'lib/duke.rb', line 21 def concurrently(threshold = 100000) Duke::Enumerable.new(self, threshold) end |