diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 08:01:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-12 08:01:46 +0000 |
commit | 16bbeb1559a6fc058d86c0b40219142b84020619 (patch) | |
tree | 52d4c4b7b2a967ed2fe4451acaa0126a1d208cc5 | |
parent | f3e3ac78b881e2153f5b043115b475198f80dd8c (diff) |
merge revision(s) 57539: [Backport #11752]
rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | rational.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rational.c b/rational.c index 0b7a88490d..8d05342ed5 100644 --- a/rational.c +++ b/rational.c @@ -726,7 +726,7 @@ static double nurat_to_double(VALUE self); * Performs addition. * * Rational(2, 3) + Rational(2, 3) #=> (4/3) - * Rational(900) + Rational(1) #=> (900/1) + * Rational(900) + Rational(1) #=> (901/1) * Rational(-2, 9) + Rational(-9, 2) #=> (-85/18) * Rational(9, 8) + 4 #=> (41/8) * Rational(20, 9) + 9.8 #=> 12.022222222222222 @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.4.0" #define RUBY_RELEASE_DATE "2017-03-12" -#define RUBY_PATCHLEVEL 59 +#define RUBY_PATCHLEVEL 60 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 |