summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-12 16:07:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-12 16:07:21 +0000
commit7df8b0501a9913aae81d565e3441395348ab3b36 (patch)
tree48e8d7db3c6d0c42b2079b1cab06b591691ed33e /hash.c
parente478cd7c116fb4d1afd6851eb3693b6dade98b5e (diff)
* string.c (rb_str_partition): RDoc update. a patch from
Mauricio Fernandez <mfp at acm.org>. [ruby-core:09160] * hash.c (rb_hash_compare_by_id): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 81dbab29fa..5f578fa299 100644
--- a/hash.c
+++ b/hash.c
@@ -1555,7 +1555,7 @@ static struct st_hash_type identhash = {
* will consider exact same objects as same keys.
*
* h1 = { "a" => 100, "b" => 200, :c => "c" }
- * h1["a"] #=> "a"
+ * h1["a"] #=> 100
* h1.compare_by_identity
* h1.compare_by_identity? #=> true
* h1["a"] #=> nil # different objects.