--- MacRuby/trunk/object.c 2010-03-13 04:31:10 UTC (rev 3757)
+++ MacRuby/trunk/object.c 2010-03-13 04:31:34 UTC (rev 3758)
@@ -586,6 +586,9 @@
}
const long v = RCLASS_VERSION(cl);
+ if (c == rb_cRubyString && (v & RCLASS_IS_STRING_SUBCLASS)) {
+ return Qtrue;
+ }
if (c == rb_cRubyArray && (v & RCLASS_IS_ARRAY_SUBCLASS)) {
return Qtrue;
}