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

MacRuby ruby-noreply at macosforge.org
Thu Apr 28 23:05:02 PDT 2011


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

Comment(by petr.kaleta@…):

 Replying to [comment:2 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?

 Yes, it is breaking for for example Sequel gem.

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



More information about the macruby-tickets mailing list