diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-02 01:54:36 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-02 01:54:36 +0000 |
commit | ec8de033e7293571bf16e33fe141c627caca5152 (patch) | |
tree | 826ac676cb4a26efd148dc0bad69587be10cccc2 /doc | |
parent | b0c5f5f0bfe446b898d42822f9e9dc04f391ca2a (diff) |
* 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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/NEWS-2.1.0 | 2 |
1 files changed, 2 insertions, 0 deletions
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: |