From 95f7992b89efd35de6b28ac095c4d3477019c583 Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 3 Apr 2019 08:11:41 +0000 Subject: Introduce beginless range [Feature#14799] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index efdc1d917f..54a180a196 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,12 @@ sufficient information, see the ChangeLog file or Redmine * Numbered parameter as the default block parameter is introduced as an experimental feature. [Feature #4475] +* A beginless range is experimentally introduced. It might not be as useful + as an endless range, but would be good for DSL purpose. + + ary[..3] # identical to ary[0..3] + where(sales: ..100) + === Core classes updates (outstanding ones only) Enumerable:: -- cgit v1.2.3