diff options
| author | Victor Shepelev <zverok.offline@gmail.com> | 2024-08-18 13:15:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-18 13:15:18 +0300 |
| commit | d450f9d6a28f01b7ca6030a925921dbf35cee439 (patch) | |
| tree | 287feda2769e22ddc5e698ca55a993e3472b2a0d /test/ruby/test_array.rb | |
| parent | 4dbf386ca248df0f47f31dc28cdeabe8d4477e5b (diff) | |
Make Range#step to consistently use + for iteration (#7444)
Make Range#step to consistently use + for iteration [Feature #18368]
Previously, non-numerics expected step to be integer,
and iterated with begin#succ, skipping over step value
steps. Since this commit, numeric and non-numeric iteration
behaves the same way, by using + operator.
Notes
Notes:
Merged-By: zverok <zverok.offline@gmail.com>
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions
