ruby-changes:12273
From: tadf <ko1@a...>
Date: Mon, 6 Jul 2009 00:48:27 +0900 (JST)
Subject: [ruby-changes:12273] Ruby:r23964 (trunk): * rational.c: edited rdoc.
tadf 2009-07-06 00:48:09 +0900 (Mon, 06 Jul 2009) New Revision: 23964 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23964 Log: * rational.c: edited rdoc. Modified files: trunk/ChangeLog trunk/rational.c Index: ChangeLog =================================================================== --- ChangeLog (revision 23963) +++ ChangeLog (revision 23964) @@ -1,3 +1,7 @@ +Mon Jul 6 00:41:41 2009 Tadayoshi Funaba <tadf@d...> + + * rational.c: edited rdoc. + Sun Jul 5 23:55:57 2009 Tanaka Akira <akr@f...> * time.c (find_time_t): fix Time.local(2009,2,31) failure on 64bit Index: rational.c =================================================================== --- rational.c (revision 23963) +++ rational.c (revision 23964) @@ -542,10 +542,10 @@ * * For example: * - * Rational(7).denominator #=> 1 - * Rational(7, 1).denominator #=> 1 - * Rational(9, -4).denominator #=> 4 - * Rational(-2, -10).denominator #=> 5 + * Rational(7).denominator #=> 1 + * Rational(7, 1).denominator #=> 1 + * Rational(9, -4).denominator #=> 4 + * Rational(-2, -10).denominator #=> 5 * rat.numerator.gcd(rat.denominator) #=> 1 */ static VALUE @@ -1557,7 +1557,7 @@ /* * call-seq: - * int.numerator -> 1 + * int.denominator -> 1 * * Returns 1. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/