[MacRuby] #1238: Does not find any methods in Module#remove_method
MacRuby
ruby-noreply at macosforge.org
Thu Apr 21 13:38:24 PDT 2011
#1238: Does not find any methods in Module#remove_method
------------------------------+---------------------------------------------
Reporter: kouji@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------+---------------------------------------------
Comment(by lsansonetti@…):
{{{
$ ruby1.9 -e "p Module.new.ancestors"
[#<Module:0xb79800>]
$ ./miniruby -e "p Module.new.ancestors"
[#<Class:0x40021dd00>, NSObject, Kernel]
}}}
I'm afraid we will have to hardcode some logic here for this special case.
Strangely enough, Class is different.
{{{
$ ruby1.9 -e "p Class.new.ancestors"
[#<Class:0xb3f600>, Object, Kernel, BasicObject]
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1238#comment:5>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list