summaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-24 13:37:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-24 13:37:43 +0000
commitf70d909e7556914b5fac19bb552d8bf713fc6208 (patch)
treea367b17dbe299a9aae4cba39372d4965f28f6b3f /object.c
parentc13905d24b4f4e336c44d998d6fc0473b2303cbe (diff)
downloadruby-f70d909e7556914b5fac19bb552d8bf713fc6208.tar.gz
ruby-f70d909e7556914b5fac19bb552d8bf713fc6208.tar.xz
ruby-f70d909e7556914b5fac19bb552d8bf713fc6208.zip
update rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/object.c b/object.c
index 8ebb86a7b..402b9e71f 100644
--- a/object.c
+++ b/object.c
@@ -772,6 +772,8 @@ static st_table *immediate_frozen_tbl = 0;
* There is no way to unfreeze a frozen object. See also
* <code>Object#frozen?</code>.
*
+ * This method returns self.
+ *
* a = [ "a", "b", "c" ]
* a.freeze
* a << "z"
@@ -1176,9 +1178,11 @@ rb_mod_to_s(VALUE klass)
/*
* call-seq:
- * mod.freeze
+ * mod.freeze => mod
*
* Prevents further modifications to <i>mod</i>.
+ *
+ * This method returns self.
*/
static VALUE