diff options
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -540,6 +540,7 @@ rb_singleton_class(obj) else { FL_UNSET(klass, FL_TAINT); } + if (OBJ_FROZEN(obj)) OBJ_FREEZE(klass); return klass; } |