[前][次][番号順一覧][スレッド一覧]

ruby-changes:17603

From: usa <ko1@a...>
Date: Wed, 27 Oct 2010 14:56:09 +0900 (JST)
Subject: [ruby-changes:17603] Ruby:r29608 (trunk): * ruby/test_io_m17n.rb (TestIO_M17N#pipe): fixed the mistake of previous

usa	2010-10-27 14:56:01 +0900 (Wed, 27 Oct 2010)

  New Revision: 29608

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29608

  Log:
    * ruby/test_io_m17n.rb (TestIO_M17N#pipe): fixed the mistake of previous
      commit.

  Modified files:
    trunk/test/ruby/test_io_m17n.rb

Index: test/ruby/test_io_m17n.rb
===================================================================
--- test/ruby/test_io_m17n.rb	(revision 29607)
+++ test/ruby/test_io_m17n.rb	(revision 29608)
@@ -19,9 +19,9 @@
     }
   end
 
-  def pipe(wp, rp)
+  def pipe(*args, wp, rp)
     re, we = nil, nil
-    r, w = IO.pipe
+    r, w = IO.pipe(*args)
     rt = Thread.new do
       begin
         rp.call(r)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]