Bug #7842
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
Hello, ~~~ruby module P def m; puts "P"; super; end end class A def m; puts "A"; end end class B < A def m; puts "B"; end prepend P alias m2 m end B.new.m2 #=> expected: P, B, A #=> actual: P, A ~~~ Is this intentional? It looks weird to me that calling super of `P#m` P#m (as `m2`) m2) skips `A#m`. A#m. --- -- Yusuke Endoh <mame@tsg.ne.jp>