summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 08:19:56 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-14 08:19:56 +0000
commite14a645d3123a36feab5b865d242bf178e32831c (patch)
treecb26e72522bc85c2f671078aa0e1387c4ca5b528 /hash.c
parent83d2bb4bf3a4e63e65b4356fa59d2ba28a8a3c60 (diff)
downloadruby-e14a645d3123a36feab5b865d242bf178e32831c.tar.gz
ruby-e14a645d3123a36feab5b865d242bf178e32831c.tar.xz
ruby-e14a645d3123a36feab5b865d242bf178e32831c.zip
* hash.c (set_default): fix rdoc. #441
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18611 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 a1517db5d..bb43ccb03 100644
--- a/hash.c
+++ b/hash.c
@@ -573,7 +573,7 @@ rb_hash_default(int argc, VALUE *argv, VALUE hash)
/*
* call-seq:
- * hsh.default = obj => hsh
+ * hsh.default = obj => obj
*
* Sets the default value, the value returned for a key that does not
* exist in the hash. It is not possible to set the a default to a