From: sawadatsuyoshi@... Date: 2015-12-26T14:52:59+00:00 Subject: [ruby-core:72494] [Ruby trunk - Feature #11879] [Open] `Module#prepended_modules` Issue #11879 has been reported by Tsuyoshi Sawada. ---------------------------------------- Feature #11879: `Module#prepended_modules` https://bugs.ruby-lang.org/issues/11879 * Author: Tsuyoshi Sawada * Status: Open * Priority: Normal * Assignee: ---------------------------------------- `Module#included_modules` include prepended modules: module A; end module B; end A.prepend B A.included_modules # => [B] This is confusing, and is not useful. I think prepended modules should not be included in `Module#included_modules`. A.included_modules # => [] I also propose that prepended modules should be included in a new method `Module#prepended_modules`: A.prepended_modules # => [B] -- https://bugs.ruby-lang.org/ Unsubscribe: