diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-01-13 02:07:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-01-13 02:07:05 +0900 |
commit | f56f3eaae55cc6f8d9e79862ee73a9ffb53d6077 (patch) | |
tree | a151966f5017d91f6904d0dcbf634ccb52ff207d /lib | |
parent | d9e1a7cdf8a6e8327cd09a891fd45d6af357f926 (diff) |
[Bug #21030] Fix step for non-numeric range
When the end points of an inclusive range equal, `Range#step` should
yields the element once.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12559
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions