#563: Retrieving the singleton class of a class seems to return Class.
-------------------------------------+--------------------------------------
Reporter: eloy.de.en...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: mocha
-------------------------------------+--------------------------------------
For example:
{{{
% cat t.rb
class A
def self.singleton_class
(class << self; self; end)
end
end
p A.singleton_class
% ruby19 t.rb
#<Class:A>
% macruby t.rb
Class
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/563>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel