class

ParallelEach

v2_1_10 - Show latest stable - Superclass: Object

Provides a parallel #each that lets you enumerate using N threads. Use environment variable N to customize. Defaults to 2. Enumerable, so all the goodies come along (tho not all are wrapped yet to return another ParallelEach instance).

Included modules

  • Enumerable

Constants

N = (ENV['N'] || 2).to_i

Files

  • lib/minitest/parallel_each.rb