[MacRuby] #1245: alias_method not working in included module

MacRuby ruby-noreply at macosforge.org
Thu Apr 28 22:32:47 PDT 2011


#1245: alias_method not working in included module
--------------------------------+-------------------------------------------
 Reporter:  petr.kaleta@…       |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by lsansonetti@…):

 This is by design, #include will not copy non-Ruby methods. #class here is
 a pure Objective-C method defined on NSObject.

 Is this bug breaking an existing gem/library?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1245#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list