From: "coderrr ." Date: 2008-11-10T03:00:46+09:00 Subject: [ruby-core:19755] [Bug #734] "no superclass method" raised when calling super from an aliased method included from a module (when method was aliased from inside the module) Bug #734: "no superclass method" raised when calling super from an aliased method included from a module (when method was aliased from inside the module) http://redmine.ruby-lang.org/issues/show/734 Author: coderrr . Status: Open, Priority: Normal Summary: Initial Comment: class A def a :a end end module M def a super end alias_method :b, :a end class B < A include M end p B.new.a => :a p B.new.b # in `b': super: no superclass method `a' (NoMethodError) If you alias a method defined in a module (aliasing the method inside of the module) then calls to super inside that method will no longer work. This error only occurs in ruby 1.8, it functions correctly in 1.9. ---------------------------------------- http://redmine.ruby-lang.org