#562: Including a module into class Class or class Module
-------------------------------------+--------------------------------------
Reporter: eloy.de.en...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: mocha
-------------------------------------+--------------------------------------
Description changed by eloy.de.en...@…:
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel