Add Array#minmax, Range#minmax, and Proc#ruby2_keywords to NEWS
This commit is contained in:
parent
63ce77929a
commit
9eded02446
21
NEWS
21
NEWS
@ -226,10 +226,13 @@ sufficient information, see the ChangeLog file or Redmine
|
|||||||
|
|
||||||
Array::
|
Array::
|
||||||
|
|
||||||
New method::
|
New methods::
|
||||||
|
|
||||||
* Added Array#intersection. [Feature #16155]
|
* Added Array#intersection. [Feature #16155]
|
||||||
|
|
||||||
|
* Added Array#minmax, with a faster implementation than Enumerable#minmax.
|
||||||
|
[Bug #15929]
|
||||||
|
|
||||||
Comparable::
|
Comparable::
|
||||||
|
|
||||||
Modified method::
|
Modified method::
|
||||||
@ -390,6 +393,22 @@ ObjectSpace::WeakMap::
|
|||||||
* ObjectSpace::WeakMap#[]= now accepts special objects as either key or
|
* ObjectSpace::WeakMap#[]= now accepts special objects as either key or
|
||||||
values. [Feature #16035]
|
values. [Feature #16035]
|
||||||
|
|
||||||
|
Proc::
|
||||||
|
|
||||||
|
New method::
|
||||||
|
|
||||||
|
* Added Proc#ruby2_keywords for marking the proc as passing keyword
|
||||||
|
arguments through a regular argument splat, useful when delegating
|
||||||
|
all arguments to another method or proc in a way that can be backwards
|
||||||
|
compatible with older Ruby versions. [Feature #16404]
|
||||||
|
|
||||||
|
Range::
|
||||||
|
|
||||||
|
New method::
|
||||||
|
|
||||||
|
* Added Range#minmax, with a faster implementation than Enumerable#minmax.
|
||||||
|
[Bug #15807]
|
||||||
|
|
||||||
RubyVM::
|
RubyVM::
|
||||||
|
|
||||||
Removed method::
|
Removed method::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user