diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-30 09:58:13 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-30 09:58:13 +0000 |
commit | bd304ed85bc2f3c0cc57334fe624fc0efa122cbc (patch) | |
tree | b71bc1e56607fa98e3c77f3c7575cc5e888de376 /NEWS | |
parent | 2e0fc4b21e6c14565afea8eb8c4d38097ead77ee (diff) | |
download | ruby-bd304ed85bc2f3c0cc57334fe624fc0efa122cbc.tar.gz |
Add Set#intersect? and #disjoint?.
* lib/set.rb (Set#intersect?, Set#disjoint?): Add new methods for
testing if two sets have any element in common.
[ruby-core:45641] [Feature #6588] Based on the code by marcandre.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -141,6 +141,11 @@ with all sufficient information, see the ChangeLog file. * REXML::Text#<< supports method chain like 'text << "XXX" << "YYY"'. * REXML::Text#<< supports not "raw" mode. +* Set + * New methods: + * Set#intersect? + * Set#disjoint? + === Stdlib compatibility issues (excluding feature bug fixes) * Set |