mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c: Add rdoc for classes frozen by default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
291be0993b
commit
a91bad28d4
1 changed files with 3 additions and 0 deletions
3
object.c
3
object.c
|
@ -1048,6 +1048,9 @@ static st_table *immediate_frozen_tbl = 0;
|
|||
*
|
||||
* prog.rb:3:in `<<': can't modify frozen array (RuntimeError)
|
||||
* from prog.rb:3
|
||||
*
|
||||
* Objects of the following classes are always frozen: Fixnum,
|
||||
* Bignum, Float, Symbol.
|
||||
*/
|
||||
|
||||
VALUE
|
||||
|
|
Loading…
Reference in a new issue