Method: Test::Unit::Worker#increment_io
- Defined in:
- lib/test/unit/parallel.rb
#increment_io(orig) ⇒ Object
:nodoc:
15 16 17 18 19 |
# File 'lib/test/unit/parallel.rb', line 15 def increment_io(orig) # :nodoc: *rest, io = 32.times.inject([orig.dup]){|ios, | ios << ios.last.dup } rest.each(&:close) io end |