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 collapse
- VERSION =
"0.1.1"
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 |