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 | c3987956760d43c4f4a938d9a034b5ca757bcd57 (patch) | |
| tree | ff64ab9057568ff7e42ed4b5505b48d61ee93b70 | |
| parent | 37898b57378253afd715cb854282071aa747f5d0 (diff) | |
| download | ruby-c3987956760d43c4f4a938d9a034b5ca757bcd57.tar.gz ruby-c3987956760d43c4f4a938d9a034b5ca757bcd57.tar.xz ruby-c3987956760d43c4f4a938d9a034b5ca757bcd57.zip | |
* rational.c: edited rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/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 a9d93802a..50c4c86e7 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. */ |
