Actions
Feature #11879
closed`Module#prepended_modules`
Status:
Closed
Assignee:
-
Target version:
-
Description
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]
Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
- Is duplicate of Feature #8026: Need Module#prepended_modules added
Updated by nobu (Nobuyoshi Nakada) almost 9 years ago
- Description updated (diff)
Updated by sawa (Tsuyoshi Sawada) almost 5 years ago
Indeed this issue is a duplicate. Please close this.
Updated by Eregon (Benoit Daloze) almost 5 years ago
- Status changed from Open to Closed
Actions
Like0
Like0Like0Like0Like0