aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 10:46:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-17 10:46:21 +0000
commit110f4748837b3a06f18b542a402e9c6996a0efe0 (patch)
tree186a5a0e86de3ab43f0f641f41ba4c48e060f53b /NEWS
parentbd124083341e9364246d1bd0df7855177324d7bb (diff)
downloadruby-110f4748837b3a06f18b542a402e9c6996a0efe0.tar.gz
range.c: === by cover?
* range.c (range_eqq): switch `Range#===` to use `cover?` instead of `include?`. [Feature #14575] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0b8caca210..85ccdac4e5 100644
--- a/NEWS
+++ b/NEWS
@@ -116,6 +116,10 @@ with all sufficient information, see the ChangeLog file or Redmine
* added Random.bytes. [Feature #4938]
+* Range
+
+ * Range#=== now uses #cover? instead of #include? method. [Feature #14575]
+
* String
* String#split yields each substring to the block if given. [Feature #4780]