respond_to?: return false in case the method is not implemented
--- MacRuby/trunk/dispatcher.cpp 2010-02-01 16:00:07 UTC (rev 3396)
+++ MacRuby/trunk/dispatcher.cpp 2010-02-01 22:34:15 UTC (rev 3397)
@@ -1876,7 +1876,7 @@
}
IMP imp = method_getImplementation(m);
- if (UNAVAILABLE_IMP(imp)) {
+ if (UNAVAILABLE_IMP(imp) || imp == (IMP)rb_f_notimplement) {
status = RESPOND_TO_NOT_EXIST;
}
else {