aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-19 03:05:03 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-22 02:35:43 +0900
commit62d43828770211470bcacb9e943876f981b5a1b4 (patch)
tree97c1cdebd90cff8bf28320d5ad053b80cc53df53 /NEWS
parent35f90bf1b9b06f93e919af3c4095b7aff903d799 (diff)
downloadruby-62d43828770211470bcacb9e943876f981b5a1b4.tar.gz
Arguments forwarding [Feature #16253]
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5f499b8765..3c9687f831 100644
--- a/NEWS
+++ b/NEWS
@@ -186,6 +186,15 @@ sufficient information, see the ChangeLog file or Redmine
* +yield+ in singleton class syntax is warned and will be deprecated later [Feature #15575].
+* Argument forwarding by <code>...</code> is introduced. [Feature #16253]
+
+ def foo(...)
+ bar(...)
+ end
+
+ All arguments to +foo+ are forwarded to +bar+, including keyword and
+ block arguments.
+
=== Core classes updates (outstanding ones only)
Array::