summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-01 23:58:02 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-10 18:02:15 +0900
commite8f53692ca7d65c92bde6d5bc6a1aea492915d9f (patch)
tree12538334499ef136cb6dcd54ee17d4e943620640 /NEWS.md
parent878e21c6cd8a4291577cd7988505479f49ebea91 (diff)
Endless method definition [Feature #16746]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2996
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 5b85ba4eb6..68a1539b9a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -45,6 +45,13 @@ sufficient information, see the ChangeLog file or Redmine
fib(10) => x
```
+* Endless method definition is added. [EXPERIMENTAL]
+ [[Feature #16746]]
+
+ ```ruby
+ def square(x) = x * x
+ ```
+
## Command line options
## Core classes updates