summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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