--- MacRuby/trunk/variable.c 2009-10-20 03:15:43 UTC (rev 2861)
+++ MacRuby/trunk/variable.c 2009-10-20 03:16:06 UTC (rev 2862)
@@ -274,9 +274,7 @@
OBJ_FREEZE(str);
rb_ivar_set(klass, classpath, str);
- if (set_outer) {
- rb_vm_set_outer(klass, under);
- }
+ rb_vm_set_outer(klass, set_outer ? under : rb_cObject);
}
void