method

increment_io

ruby latest stable - Class: Test::Unit::Worker

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

increment_io(orig)
public

No documentation available.

# 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