[MacRuby] #1120: User defined classes created with singleton methods
MacRuby
ruby-noreply at macosforge.org
Tue Jan 18 10:17:34 PST 2011
#1120: User defined classes created with singleton methods
------------------------------------------+---------------------------------
Reporter: smorss@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------------+---------------------------------
I am running MacRuby 0.8.
If I create a simple class:
class X ; end
And then I ask an instance of it for its singleton methods:
X.new.singleton_methods
I get:
[:==, :class, :hash, :dup]
There shouldn't be any (should return []). "Object.new.singleton_methods"
has the correct behavior.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1120>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list