ruby-changes:18970
From: sorah <ko1@a...>
Date: Wed, 2 Mar 2011 14:30:01 +0900 (JST)
Subject: [ruby-changes:18970] Ruby:r31005 (trunk): * lib/test/unit/parallel.rb: Fix name from `inclement_io` to
sorah 2011-03-02 14:29:52 +0900 (Wed, 02 Mar 2011) New Revision: 31005 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31005 Log: * lib/test/unit/parallel.rb: Fix name from `inclement_io` to `increment_io`. Modified files: trunk/ChangeLog trunk/lib/test/unit/parallel.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31004) +++ ChangeLog (revision 31005) @@ -1,3 +1,8 @@ +Wed Mar 2 14:24:04 2011 Shota Fukumori <sorah@t...> + + * lib/test/unit/parallel.rb: Fix name from `inclement_io` to + `increment_io`. + Wed Mar 2 14:06:01 2011 NARUSE, Yui <naruse@r...> * string.c (rb_str_slice_bang): move treatments which is only needed Index: lib/test/unit/parallel.rb =================================================================== --- lib/test/unit/parallel.rb (revision 31004) +++ lib/test/unit/parallel.rb (revision 31005) @@ -12,13 +12,13 @@ undef _run_suites undef run - def inclement_io orig + def increment_io(orig) *rest, io = 32.times.inject([orig.dup]){|ios, | ios << ios.last.dup } rest.each(&:close) io end - def _run_suites suites, type + def _run_suites(suites, type) suites.map do |suite| result = _run_suite(suite, type) end @@ -77,8 +77,8 @@ Signal.trap(:INT,"IGNORE") @old_loadpath = [] begin - @stdout = inclement_io(STDOUT) - @stdin = inclement_io(STDIN) + @stdout = increment_io(STDOUT) + @stdin = increment_io(STDIN) @stdout.sync = true @stdout.puts "ready" while buf = @stdin.gets -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/