From f4937c623199be4e8f59ff033acc03217ad75346 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 12 Jan 2018 00:16:56 +0000 Subject: [PATCH] doc/NEWS-2.5.0: `step` is not `Integer#step` but `Numeric#step` [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS-2.5.0 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/NEWS-2.5.0 b/doc/NEWS-2.5.0 index 9634bf1410..77e1803362 100644 --- a/doc/NEWS-2.5.0 +++ b/doc/NEWS-2.5.0 @@ -106,9 +106,6 @@ with all sufficient information, see the ChangeLog file or Redmine * 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 ChangeLog file or Redmine * 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]