summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-09 17:34:14 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-09 17:34:14 +0000
commita91bad28d4b72d3b2d135a94d0a018686c817710 (patch)
tree979c114b196e0aaaf04dabe94ddf2382c1665837
parent291be0993bc06a377b92cd24268b2865be9e8d67 (diff)
* 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
-rw-r--r--object.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/object.c b/object.c
index 5b5e283..8fc85b9 100644
--- a/object.c
+++ b/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