From: "rkh (Konstantin Haase)" Date: 2012-06-27T20:26:11+09:00 Subject: [ruby-core:45914] [ruby-trunk - Feature #6654][Open] Module#prepend does not honor included modules Issue #6654 has been reported by rkh (Konstantin Haase). ---------------------------------------- Feature #6654: Module#prepend does not honor included modules https://bugs.ruby-lang.org/issues/6654 Author: rkh (Konstantin Haase) Status: Open Priority: Normal Assignee: Category: Target version: 2.0.0 =begin I really love that Module#prepend landed in core. I just had a play with it. I'm not sure if the following behavior is intentional: module A def a; end end module B include A def b; end end class C prepend B end p C.new.respond_to? :b # true p C.new.respond_to? :a # false (expected true) =end -- http://bugs.ruby-lang.org/