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 | 989e07c0f2fa664a54e52a475c2fcc145f06539d (patch) | |
tree | 186a5a0e86de3ab43f0f641f41ba4c48e060f53b /NEWS | |
parent | d50ecb63ec02043865a4217af7e738f22ea6e8c7 (diff) | |
download | ruby-989e07c0f2fa664a54e52a475c2fcc145f06539d.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] |