From ec8de033e7293571bf16e33fe141c627caca5152 Mon Sep 17 00:00:00 2001 From: marcandre Date: Sun, 2 Mar 2014 01:54:36 +0000 Subject: * NEWS-2.1.0: Mention that step can accept a 0 unit. See #9575 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS-2.1.0 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/NEWS-2.1.0 b/doc/NEWS-2.1.0 index 2776c27551..5d4152b8dc 100644 --- a/doc/NEWS-2.1.0 +++ b/doc/NEWS-2.1.0 @@ -104,6 +104,8 @@ with all sufficient information, see the ChangeLog file. * Numeric#step allows the limit argument to be omitted, in which case an infinite sequence of numbers is generated. Keyword arguments `to` and `by` are introduced for ease of use. + `by` can be 0, in which case the same value will be generated + indefinitely. * Process * New methods: -- cgit v1.2.3