ruby-changes:45957
From: nagachika <ko1@a...>
Date: Mon, 20 Mar 2017 06:33:39 +0900 (JST)
Subject: [ruby-changes:45957] nagachika:r58028 (ruby_2_3): merge revision(s) 57539: [Backport #11752]
nagachika 2017-03-20 06:33:32 +0900 (Mon, 20 Mar 2017) New Revision: 58028 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58028 Log: 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] Modified directories: branches/ruby_2_3/ Modified files: branches/ruby_2_3/rational.c branches/ruby_2_3/version.h Index: ruby_2_3/version.h =================================================================== --- ruby_2_3/version.h (revision 58027) +++ ruby_2_3/version.h (revision 58028) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1 #define RUBY_VERSION "2.3.3" #define RUBY_RELEASE_DATE "2017-03-20" -#define RUBY_PATCHLEVEL 249 +#define RUBY_PATCHLEVEL 250 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3 Index: ruby_2_3/rational.c =================================================================== --- ruby_2_3/rational.c (revision 58027) +++ ruby_2_3/rational.c (revision 58028) @@ -739,7 +739,7 @@ f_addsub(VALUE self, VALUE anum, VALUE a https://github.com/ruby/ruby/blob/trunk/ruby_2_3/rational.c#L739 * 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 Property changes on: ruby_2_3 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r57539 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/