[macruby-changes] [4102] MacRuby/trunk/variable.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 14 00:51:34 PDT 2010
Revision: 4102
http://trac.macosforge.org/projects/ruby/changeset/4102
Author: lsansonetti at apple.com
Date: 2010-05-14 00:51:31 -0700 (Fri, 14 May 2010)
Log Message:
-----------
make rb_obj_classname() hide foundation types (used in various places such as runtime exceptions)
Modified Paths:
--------------
MacRuby/trunk/variable.c
Modified: MacRuby/trunk/variable.c
===================================================================
--- MacRuby/trunk/variable.c 2010-05-14 07:31:35 UTC (rev 4101)
+++ MacRuby/trunk/variable.c 2010-05-14 07:51:31 UTC (rev 4102)
@@ -346,7 +346,7 @@
const char *
rb_obj_classname(VALUE obj)
{
- return rb_class2name(CLASS_OF(obj));
+ return rb_class2name(rb_class_real(CLASS_OF(obj), true));
}
struct trace_var {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100514/80ee5215/attachment.html>
More information about the macruby-changes
mailing list