diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-22 16:26:07 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-22 16:26:07 +0000 |
commit | fdf213b71a4a9d1a48708516c6cfc6cc85da7c74 (patch) | |
tree | 72542cb5476a7ccf446fbf3c864842230b175e4a /array.c | |
parent | 115410ecde172034fdbfdea703252dcfc6ea0468 (diff) |
* hash.c (rb_hash_assoc): new method.
* hash.c (rb_hash_rassoc): ditto.
* hash.c (rb_hash_flatten): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2342,10 +2342,10 @@ rb_ary_assoc(VALUE ary, VALUE key) /* * call-seq: - * array.rassoc(key) -> an_array or nil + * array.rassoc(obj) -> an_array or nil * * Searches through the array whose elements are also arrays. Compares - * <em>key</em> with the second element of each contained array using + * _obj_ with the second element of each contained array using * <code>==</code>. Returns the first contained array that matches. See * also <code>Array#assoc</code>. * |