aboutsummaryrefslogtreecommitdiffstats
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
commit0cafe9e4cdc7658e80f6678e2785ebbb8623ca4e (patch)
treecb26e72522bc85c2f671078aa0e1387c4ca5b528
parenta99e6c15b8b889a133ab37233da1d7fbbb314eff (diff)
downloadruby-0cafe9e4cdc7658e80f6678e2785ebbb8623ca4e.tar.gz
* hash.c (set_default): fix rdoc. #441
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--hash.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef270de085..d68931b930 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -66,6 +66,10 @@ Thu Aug 14 02:45:16 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* test/ruby/test_file_exhaustive.rb (TestFileExhaustive#setup):
set group of tmpdir. [ruby-dev:35633]
+Thu Aug 14 15:50:30 2008 Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
+
+ * hash.c (set_default): fix rdoc. #441
+
Thu Aug 14 02:23:31 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (econv_primitive_convert): add output_byteoffset
diff --git a/hash.c b/hash.c
index a1517db5de..bb43ccb034 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