summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/object.c b/object.c
index 1c0b1bf828..5ca7624ee1 100644
--- a/object.c
+++ b/object.c
@@ -231,6 +231,7 @@ rb_obj_is_instance_of(obj, c)
switch (TYPE(c)) {
case T_MODULE:
case T_CLASS:
+ case T_ICLASS:
break;
case T_NIL:
@@ -266,6 +267,7 @@ rb_obj_is_kind_of(obj, c)
switch (TYPE(c)) {
case T_MODULE:
case T_CLASS:
+ case T_ICLASS:
break;
default: