Added code fence to the example in [Feature #17724] [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2021-07-16 11:23:36 +09:00
parent 95f8ffa5f6
commit 25689024cf
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6
1 changed files with 3 additions and 1 deletions

View File

@ -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