diff options
author | Jeremy Evans <[email protected]> | 2020-11-03 14:01:38 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-03 14:01:38 -0800 |
commit | 2a294d499bf03211d02695f613f784a05943ea35 (patch) | |
tree | 7b55b6b4e296e7f85c2ff45ddcc33d320c23f895 /spec/ruby/command_line | |
parent | 7d6c72dc061ed5a180279731fc31321583c61e24 (diff) |
Make Array methods return Array instances instead of subclass instances
This changes the following methods to return Array instances instead
of subclass instances:
* Array#drop
* Array#drop_while
* Array#flatten
* Array#slice!
* Array#slice/#[]
* Array#take
* Array#take_while
* Array#uniq
* Array#*
Fixes [Bug #6087]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3690
Merged-By: jeremyevans <[email protected]>
Diffstat (limited to 'spec/ruby/command_line')
0 files changed, 0 insertions, 0 deletions