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