diff options
author | Shugo Maeda <shugo@ruby-lang.org> | 2021-09-11 20:23:36 +0900 |
---|---|---|
committer | Shugo Maeda <shugo@ruby-lang.org> | 2021-09-11 20:23:36 +0900 |
commit | 297f9b8d4c4502aa2ba0eccf93dfce215a7b6dfe (patch) | |
tree | 0b47c4b68336f12c62187ec3ce612934f4f289c2 /NEWS.md | |
parent | d05ef38865af8dd43fd583e46f46509fe29e93cb (diff) |
Add documentation and tests for keyword argument value omission
[Feature #14579]
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,10 +69,10 @@ Note that each entry is kept to a minimum, see links for details. [[Bug #4443]] -* Values in Hash literals can be omitted. [[Feature #14579]] +* Values in Hash literals and keyword arguments can be omitted. [[Feature #14579]] `{x:, y:}` is a syntax sugar of `{x: x, y: y}`. - + `foo(x:, y:)` is a syntax sugar of `foo(x: x, y: y)`. ## Command line options |