ruby-changes:64478
From: Marc-Andre <ko1@a...>
Date: Wed, 23 Dec 2020 03:48:35 +0900 (JST)
Subject: [ruby-changes:64478] fd745cc92c (master): NEWS: group keyword arguments related items together
https://git.ruby-lang.org/ruby.git/commit/?id=fd745cc92c From fd745cc92c5e4dfa226cbdbbeb118f6b780666e1 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lafortune <github@m...> Date: Tue, 22 Dec 2020 02:52:05 -0500 Subject: NEWS: group keyword arguments related items together diff --git a/NEWS.md b/NEWS.md index 2483f5f..e86c710 100644 --- a/NEWS.md +++ b/NEWS.md @@ -14,15 +14,6 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L14 Code that resulted in deprecation warnings in Ruby 2.7 will now result in ArgumentError or different behavior. [[Feature #14183]] -* Arguments forwarding (`...`) now supports leading arguments. - [[Feature #16378]] - - ```ruby - def method_missing(meth, ...) - send(:"do_#{meth}", ...) - end - ``` - * Procs accepting a single rest argument and keywords are no longer subject to autosplatting. This now matches the behavior of Procs accepting a single rest argument and no keywords. @@ -40,6 +31,15 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L31 # 3.0 => [[[1, {:a=>1}]], {}] ``` +* Arguments forwarding (`...`) now supports leading arguments. + [[Feature #16378]] + + ```ruby + def method_missing(meth, ...) + send(:"do_#{meth}", ...) + end + ``` + * Pattern matching(`case/in`) is no longer experimental. [[Feature #17260]] * One-line pattern matching is redesigned. [EXPERIMENTAL] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/