[前][次][番号順一覧][スレッド一覧]

ruby-changes:59351

From: Jeremy <ko1@a...>
Date: Sat, 21 Dec 2019 03:49:35 +0900 (JST)
Subject: [ruby-changes:59351] 9eded02446 (master): Add Array#minmax, Range#minmax, and Proc#ruby2_keywords to NEWS

https://git.ruby-lang.org/ruby.git/commit/?id=9eded02446

From 9eded02446e34d4db1051f5f18c2d7d554e792d3 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Fri, 20 Dec 2019 10:47:56 -0800
Subject: Add Array#minmax, Range#minmax, and Proc#ruby2_keywords to NEWS


diff --git a/NEWS b/NEWS
index a67d16b..5d4097d 100644
--- a/NEWS
+++ b/NEWS
@@ -226,10 +226,13 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L226
 
 Array::
 
-  New method::
+  New methods::
 
     * Added Array#intersection. [Feature #16155]
 
+    * Added Array#minmax, with a faster implementation than Enumerable#minmax.
+      [Bug #15929]
+
 Comparable::
 
   Modified method::
@@ -390,6 +393,22 @@ ObjectSpace::WeakMap:: https://github.com/ruby/ruby/blob/trunk/NEWS#L393
     * ObjectSpace::WeakMap#[]= now accepts special objects as either key or
       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::
 
   Removed method::
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]