Ticket #563 (new defect)
Retrieving the singleton class of a class seems to return Class.
| Reported by: | eloy.de.enige@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 1.0 |
| Component: | MacRuby | Keywords: | mocha |
| Cc: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

