From: nobu@... Date: 2015-12-26T15:06:20+00:00 Subject: [ruby-core:72495] [Ruby trunk - Feature #11879] `Module#prepended_modules` Issue #11879 has been updated by Nobuyoshi Nakada. Description updated ---------------------------------------- Feature #11879: `Module#prepended_modules` https://bugs.ruby-lang.org/issues/11879#change-55775 * Author: Tsuyoshi Sawada * Status: Open * Priority: Normal * Assignee: ---------------------------------------- `Module#included_modules` include prepended modules: ~~~ruby 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`. ~~~ruby A.included_modules # => [] ~~~ I also propose that prepended modules should be included in a new method `Module#prepended_modules`: ~~~ruby A.prepended_modules # => [B] ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: