Revision
4343
Author
eloy.de.enige@gmail.com
Date
2010-07-09 19:27:03 -0700 (Fri, 09 Jul 2010)

Log Message

Always return 'main' as the top level object description.

Modified Paths

Diff

Modified: MacRuby/trunk/vm.cpp (4342 => 4343)


--- MacRuby/trunk/vm.cpp	2010-07-10 01:08:40 UTC (rev 4342)
+++ MacRuby/trunk/vm.cpp	2010-07-10 02:27:03 UTC (rev 4343)
@@ -4876,6 +4876,7 @@
 {
     rb_cTopLevel = rb_define_class("TopLevel", rb_cObject);
     rb_objc_define_method(rb_cTopLevel, "to_s", (void *)rb_toplevel_to_s, 0);
+    rb_objc_define_method(rb_cTopLevel, "inspect", (void *)rb_toplevel_to_s, 0);
 
     GET_VM()->set_current_class(NULL);