diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2020-11-03 14:01:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 14:01:38 -0800 |
| commit | 2a294d499bf03211d02695f613f784a05943ea35 (patch) | |
| tree | 7b55b6b4e296e7f85c2ff45ddcc33d320c23f895 /spec/ruby/core/thread/priority_spec.rb | |
| 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 <code@jeremyevans.net>
Diffstat (limited to 'spec/ruby/core/thread/priority_spec.rb')
0 files changed, 0 insertions, 0 deletions
