#1246: Module#ancestors is broken when include the Module. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Comment(by watson1978@…): Sorry. My test code seemed to be insufficient. New Test Script: {{{ #!ruby module M01; end module M02; end module M03; include M02; end module M02; include M01; end module M03; include M02; end p M01.ancestors p M02.ancestors p M03.ancestors }}} Result: {{{ $ ruby19 t.rb [M01] [M02, M01] [M03, M02, M01] $ macruby t.rb [M01] [M02, M01] [M03, M02, M01, M01, M02, M01] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/1246#comment:2> MacRuby <http://macruby.org/>