summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-22 16:26:07 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-22 16:26:07 +0000
commitfdf213b71a4a9d1a48708516c6cfc6cc85da7c74 (patch)
tree72542cb5476a7ccf446fbf3c864842230b175e4a /array.c
parent115410ecde172034fdbfdea703252dcfc6ea0468 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index a713e390ab..6d469cba67 100644
--- a/array.c
+++ b/array.c
@@ -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>.
*