summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-12-22 02:52:05 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-12-22 13:48:13 -0500
commitfd745cc92c5e4dfa226cbdbbeb118f6b780666e1 (patch)
tree485bb2be735bcfe499df299eeed1a0bab14febc4 /NEWS.md
parent5a6d27fe220548eb4ab5232d7f7331b42a66a17f (diff)
NEWS: group keyword arguments related items together
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3974
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/NEWS.md b/NEWS.md
index 2483f5f42e..e86c710d7c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -14,15 +14,6 @@ sufficient information, see the ChangeLog file or Redmine
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
# 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]