diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-17 10:46:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-17 10:46:21 +0000 |
commit | 110f4748837b3a06f18b542a402e9c6996a0efe0 (patch) | |
tree | 186a5a0e86de3ab43f0f641f41ba4c48e060f53b /NEWS | |
parent | bd124083341e9364246d1bd0df7855177324d7bb (diff) | |
download | ruby-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-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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] |