[MacRuby-devel] [MacRuby] #562: Including a module into class Class or class Module
MacRuby
ruby-noreply at macosforge.org
Tue Jan 19 13:08:09 PST 2010
#562: Including a module into class Class or class Module
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: mocha
-------------------------------------+--------------------------------------
Description changed by eloy.de.enige@…:
Old description:
> I saw that when you open class Class and define a method, it's
> automatically defined as a class method on NSObject. My preliminary patch
> does this for both Class and Module. However, as the test in #3300 shows,
> using the two behaviors together still leads to a problem.
New description:
I saw that when you open class Class and define a method, it's
automatically defined as a class method on NSObject. This does not happen
when you include a module into class Class. Or class Module for that
matter.
My preliminary patch does this for both Class and Module. However, as the
test in #3300 shows, using the two behaviors together still leads to a
problem.
--
--
Ticket URL: <http://www.macruby.org/trac/ticket/562#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list