From: Kent Sibilev Date: 2006-02-20T12:36:37+09:00 Subject: Latest change to rational.rb Here's a small fix to Mon Feb 20 01:05:27 2006 Yukihiro Matsumoto * lib/rational.rb (Integer::gcd): replaced by gcd4 in [ruby-core:07390]. [ruby-core:07377] Index: lib/rational.rb =================================================================== RCS file: /src/ruby/lib/rational.rb,v retrieving revision 1.13.2.3 diff -u -r1.13.2.3 rational.rb --- lib/rational.rb 20 Feb 2006 00:55:46 -0000 1.13.2.3 +++ lib/rational.rb 20 Feb 2006 03:27:53 -0000 @@ -435,7 +435,7 @@ # # The result is positive, no matter the sign of the arguments. # - def gcd(n) + def gcd(other) min = self.abs max = other.abs while min > 0 -- Kent --- http://www.datanoise.com