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

ruby-changes:8642

From: tadf <ko1@a...>
Date: Tue, 11 Nov 2008 07:59:53 +0900 (JST)
Subject: [ruby-changes:8642] Ruby:r20177 (trunk): trivial changes.

tadf	2008-11-11 07:59:47 +0900 (Tue, 11 Nov 2008)

  New Revision: 20177

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

  Log:
    trivial changes.

  Modified files:
    trunk/test/ruby/test_complex.rb
    trunk/test/ruby/test_rational.rb

Index: test/ruby/test_complex.rb
===================================================================
--- test/ruby/test_complex.rb	(revision 20176)
+++ test/ruby/test_complex.rb	(revision 20177)
@@ -9,7 +9,7 @@
     if @rational
       @keiju = Rational.instance_variable_get('@RCS_ID')
     end
-    @unify = defined?(Complex::Unify)
+    @unify = $".grep(/mathn/).size != 0
   end
 
   def test_compsub
Index: test/ruby/test_rational.rb
===================================================================
--- test/ruby/test_rational.rb	(revision 20176)
+++ test/ruby/test_rational.rb	(revision 20177)
@@ -9,7 +9,7 @@
     if @complex
       @keiju = Complex.instance_variable_get('@RCS_ID')
     end
-    @unify = defined?(Rational::Unify)
+    @unify = $".grep(/mathn/).size != 0
   end
 
   def test_ratsub

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

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