diff options
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,9 @@ VALUE rb_class_real(cl) VALUE cl; { + if (TYPE(cl) == T_ICLASS) { + cl = RBASIC(cl)->klass; + } while (FL_TEST(cl, FL_SINGLETON) || TYPE(cl) == T_ICLASS) { cl = RCLASS(cl)->super; } |