#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/>