diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 05:02:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-10 05:02:02 +0000 |
commit | d68c3ecf98bf3b5802a6b0f9a6bcf7825addd9e5 (patch) | |
tree | 95a8b3e8116776990c19e5cacd5af0af59f898c7 /NEWS | |
parent | f11a85c72600026f6e26afe6dda2548c785ce1d3 (diff) | |
download | ruby-d68c3ecf98bf3b5802a6b0f9a6bcf7825addd9e5.tar.gz |
hash.c: compare methods
* hash.c (rb_hash_{le,lt,ge,gt}): new methods, Hash#<=, Hash#<,
Hash#>=, Hash#>, to test if all elements of a hash are also
included in another hash, and vice versa.
[ruby-core:68561] [Feature #10984]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -59,6 +59,7 @@ with all sufficient information, see the ChangeLog file. * Hash#fetch_values [Feature #10017] * Hash#dig [Feature #11643] + * Hash#<=, Hash#<, Hash#>=, Hash#> [Feature #10984] * IO |