ruby-changes:49664
From: kazu <ko1@a...>
Date: Fri, 12 Jan 2018 09:17:00 +0900 (JST)
Subject: [ruby-changes:49664] kazu:r61780 (trunk): doc/NEWS-2.5.0: `step` is not `Integer#step` but `Numeric#step` [ci skip]
kazu 2018-01-12 09:16:56 +0900 (Fri, 12 Jan 2018) New Revision: 61780 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61780 Log: doc/NEWS-2.5.0: `step` is not `Integer#step` but `Numeric#step` [ci skip] Modified files: trunk/doc/NEWS-2.5.0 Index: doc/NEWS-2.5.0 =================================================================== --- doc/NEWS-2.5.0 (revision 61779) +++ doc/NEWS-2.5.0 (revision 61780) @@ -106,9 +106,6 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.5.0#L106 * Integer - * Integer#step no longer hides errors from coerce method when - given a step value which cannot be compared with #> to 0. - [Feature #7688] * Integer#{round,floor,ceil,truncate} always return an Integer. [Bug #13420] * Integer#pow accepts modulo argument for calculating modular @@ -138,6 +135,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.5.0#L135 * Numeric + * Numeric#step no longer hides errors from coerce method when + given a step value which cannot be compared with #> to 0. + [Feature #7688] * Numerical comparison operators (<,<=,>=,>) no longer hide exceptions from #coerce method internally. Return nil in #coerce if the coercion is impossible. [Feature #7688] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/