[MacRuby-devel] [MacRuby] #443: included method in an included module don't get defined in the extended object

MacRuby ruby-noreply at macosforge.org
Thu Nov 19 16:51:28 PST 2009


#443: included method in an included module don't get defined in the extended
object
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 {{{
 module Y
   def y
     puts 'y'
   end
 end

 module X
   include Y
   def x
     puts 'x'
   end
 end

 o = Object.new
 o.extend X
 o.x
 o.y
 }}}

 Bug reported by Rich Kilmer which is the reason why HotCocoa #on_action
 doesn't work in b2

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/443>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list