From: "tenderlovemaking (Aaron Patterson)" Date: 2012-08-20T07:07:57+09:00 Subject: [ruby-core:47241] [ruby-trunk - Bug #6891][Open] Protected methods in a module can't call super Issue #6891 has been reported by tenderlovemaking (Aaron Patterson). ---------------------------------------- Bug #6891: Protected methods in a module can't call super https://bugs.ruby-lang.org/issues/6891 Author: tenderlovemaking (Aaron Patterson) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2012-08-19 trunk 36729) [x86_64-darwin12.0.0] Since r36616 modules that have protected methods and are extended on to another class cannot call super. Here is an example: module A def inherited klass super end end module B protected def inherited klass super end end class C extend B extend A end class Z < C end Before r36616 this code would work, but after r36616 this code raises an exception. I've attached a test case. -- http://bugs.ruby-lang.org/