summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-15 00:33:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-15 00:33:12 +0000
commit3f3bcc697e989078e946ac01313d5e36cfaa3d7d (patch)
tree36649235e647f56dd2c59a78a7fc19dfe9ec711b /object.c
parentcc2c313903ff348f588a121238e1be532ad58fba (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 1c0b1bf..5ca7624 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: