From 6eebf142e1cb80659d8395420590947809ff5fb3 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 24 May 2009 13:37:43 +0000 Subject: [PATCH] update rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/object.c b/object.c index 8ebb86a7bc..402b9e71f5 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 * Object#frozen?. * + * 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 mod. + * + * This method returns self. */ static VALUE