diff --git a/rational.c b/rational.c index 8fa69bd114..3e5dea3349 100644 --- a/rational.c +++ b/rational.c @@ -744,7 +744,7 @@ f_addsub(VALUE self, VALUE anum, VALUE aden, VALUE bnum, VALUE bden, int k) * 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 diff --git a/version.h b/version.h index 7aa76b0f4e..a7867a858b 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.2.7" #define RUBY_RELEASE_DATE "2017-03-26" -#define RUBY_PATCHLEVEL 442 +#define RUBY_PATCHLEVEL 443 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 3