Module: Forkit
- Defined in:
- lib/forkit.rb,
lib/forkit/version.rb,
lib/forkit/iterator.rb,
lib/forkit/enumerable.rb
Defined Under Namespace
Classes: Enumerable, Iterator
Constant Summary
- VERSION =
"0.1.1"
Instance Method Summary (collapse)
-
- (Forkit::Enumerable) forked(threshold = 100000)
We hook into array to be able to easily handle concurrent processing of each blocks.
Instance Method Details
- (Forkit::Enumerable) forked(threshold = 100000)
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 |