Module: Enumerable
- Defined in:
- lib/concurrent_enumerable/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#parallel(opts = {}) ⇒ Object
2 3 4 |
# File 'lib/concurrent_enumerable/core_ext.rb', line 2 def parallel(opts = {}) ConcurrentEnumerable::Parallel.new(self, opts) end |
#serial ⇒ Object
6 7 8 |
# File 'lib/concurrent_enumerable/core_ext.rb', line 6 def serial self end |