From 25689024cf3ab81c950cca3f0d17dff9f9036e22 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 16 Jul 2021 11:23:36 +0900 Subject: Added code fence to the example in [Feature #17724] [ci skip] --- NEWS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 5f0b5a6b2c..b30d707b4d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 -- cgit v1.2.3