diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-16 11:23:36 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-16 11:26:30 +0900 |
commit | 25689024cf3ab81c950cca3f0d17dff9f9036e22 (patch) | |
tree | b059d90f0ba2571d3de6996325d3e4ac3116313d /NEWS.md | |
parent | 95f8ffa5f6c70aa9383e1f6db02b22707c183402 (diff) |
Added code fence to the example in [Feature #17724] [ci skip]
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,11 +15,13 @@ Note that each entry is kept to a minimum, see links for details. ``` * Pin operator now supports instance, class, and global variables. - [[Feature #17724]] + [[Feature #17724]] + ```ruby @n = 5 Prime.each_cons(2).lazy.find{_1 in [n, ^@n]} #=> [3, 5] + ``` * Multiple assignment evaluation order has been made consistent with single assignment evaluation order. With single assignment, Ruby |