diff options
author | Kenta Murata <mrkn@users.noreply.github.com> | 2020-10-21 02:40:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 02:40:18 +0900 |
commit | a6a8576e877b02b83cabd0e712ecd377e7bc156b (patch) | |
tree | 3802e57e38cb467462d19dd266dc4e848d428cc6 /version.h | |
parent | 081cc4eb283cb01ddffb364397e5175dbfacab66 (diff) | |
download | ruby-a6a8576e877b02b83cabd0e712ecd377e7bc156b.tar.gz |
Feature #16812: Allow slicing arrays with ArithmeticSequence (#3241)
* Support ArithmeticSequence in Array#slice
* Extract rb_range_component_beg_len
* Use rb_range_values to check Range object
* Fix ary_make_partial_step
* Fix for negative step cases
* range.c: Describe the role of err argument in rb_range_component_beg_len
* Raise a RangeError when an arithmetic sequence refers the outside of an array
[Feature #16812]
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions