diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-05 15:48:09 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-05 15:48:09 +0000 |
commit | 2db86440394caa983103ddab5233778684bb5731 (patch) | |
tree | ff64ab9057568ff7e42ed4b5505b48d61ee93b70 | |
parent | 95b71ae3fb141bfcd857c7a9e90c0ab7c38bd47a (diff) | |
download | ruby-2db86440394caa983103ddab5233778684bb5731.tar.gz |
* rational.c: edited rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | rational.c | 10 |
2 files changed, 9 insertions, 5 deletions
@@ -1,3 +1,7 @@ +Mon Jul 6 00:41:41 2009 Tadayoshi Funaba <tadf@dotrb.org> + + * rational.c: edited rdoc. + Sun Jul 5 23:55:57 2009 Tanaka Akira <akr@fsij.org> * time.c (find_time_t): fix Time.local(2009,2,31) failure on 64bit diff --git a/rational.c b/rational.c index a9d93802a9..50c4c86e75 100644 --- a/rational.c +++ b/rational.c @@ -542,10 +542,10 @@ nurat_numerator(VALUE self) * * 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 @@ integer_numerator(VALUE self) /* * call-seq: - * int.numerator -> 1 + * int.denominator -> 1 * * Returns 1. */ |