1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update NEWS for Array methods change

This commit is contained in:
Jeremy Evans 2020-11-03 14:06:11 -08:00
parent 2a294d499b
commit bf1047c757

19
NEWS.md
View file

@ -109,6 +109,24 @@ option shows the help message via the pager designated by the value.
Outstanding ones only.
* Array
* Modified methods
* The following methods now return Array instances instead of
subclass instances when called on subclass instances:
[[Bug #6087]]
* `Array#drop`
* `Array#drop_while`
* `Array#flatten`
* `Array#slice!`
* `Array#slice/#[]`
* `Array#take`
* `Array#take_while`
* `Array#uniq`
* `Array#*`
* Dir
* Modified method
@ -498,6 +516,7 @@ end
[Bug #4352]: https://bugs.ruby-lang.org/issues/4352
[Bug #6087]: https://bugs.ruby-lang.org/issues/6087
[Bug #8382]: https://bugs.ruby-lang.org/issues/8382
[Bug #8446]: https://bugs.ruby-lang.org/issues/8446
[Feature #8661]: https://bugs.ruby-lang.org/issues/8661