mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8875ffc412
commit
6eebf142e1
1 changed files with 5 additions and 1 deletions
6
object.c
6
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
|
||||
|
|
Loading…
Reference in a new issue