diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-19 03:05:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-22 02:35:43 +0900 |
commit | 62d43828770211470bcacb9e943876f981b5a1b4 (patch) | |
tree | 97c1cdebd90cff8bf28320d5ad053b80cc53df53 /NEWS | |
parent | 35f90bf1b9b06f93e919af3c4095b7aff903d799 (diff) | |
download | ruby-62d43828770211470bcacb9e943876f981b5a1b4.tar.gz |
Arguments forwarding [Feature #16253]
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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:: |