ruby-changes:63513
From: Jeremy <ko1@a...>
Date: Wed, 4 Nov 2020 07:10:44 +0900 (JST)
Subject: [ruby-changes:63513] bf1047c757 (master): Update NEWS for Array methods change
https://git.ruby-lang.org/ruby.git/commit/?id=bf1047c757 From bf1047c7570a7544c39ebc819715e2810dd2c1c3 Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Tue, 3 Nov 2020 14:06:11 -0800 Subject: Update NEWS for Array methods change diff --git a/NEWS.md b/NEWS.md index 495a633..e10300c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -109,6 +109,24 @@ option shows the help message via the pager designated by the value. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L109 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 https://github.com/ruby/ruby/blob/trunk/NEWS.md#L516 [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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/