diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-31 22:35:59 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-31 22:35:59 +0000 |
commit | f6809f61d64ebdb95297722f607b6faa97acab08 (patch) | |
tree | 3549f9333ba565bdfab46bf394fe6ba0e5c931bc /hash.c | |
parent | 161cdee26573e02dfc20076aedbebb0fb46cb80b (diff) | |
download | ruby-f6809f61d64ebdb95297722f607b6faa97acab08.tar.gz |
* hash.c (key_i): Change rdoc from "the first occurence" to "an
occurrence" since first occurrence is not a specification of
Hash#key. [Ruby 1.9 - Bug #4760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -740,7 +740,7 @@ key_i(VALUE key, VALUE value, VALUE arg) * call-seq: * hsh.key(value) -> key * - * Returns the key of the first occurrence of a given value. If the value is + * Returns the key of an occurrence of a given value. If the value is * not found, returns <code>nil</code>. * * h = { "a" => 100, "b" => 200, "c" => 300, "d" => 300 } |