From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id EE76817CE3D4 for ; Wed, 6 Mar 2013 13:03:36 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 3D44DEA6BD3 for ; Wed, 6 Mar 2013 12:42:24 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 1E71397A82C for ; Wed, 6 Mar 2013 12:42:24 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pv8xIfFBBQFS for ; Wed, 6 Mar 2013 12:42:23 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id F208C97A826 for ; Wed, 6 Mar 2013 12:42:23 +0900 (JST) Received: from carbon.ruby-lang.org (carbon.ruby-lang.org [221.186.184.68]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 8113E952421 for ; Wed, 6 Mar 2013 12:42:22 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [127.0.0.1]) by carbon.ruby-lang.org (Postfix) with ESMTP id 03F503C2294FD; Wed, 6 Mar 2013 12:40:22 +0900 (JST) Received: from fluorine.ruby-lang.org (www.rubyist.net [210.251.121.216]) by carbon.ruby-lang.org (Postfix) with ESMTP id 0E2DF3C229561 for ; Wed, 6 Mar 2013 12:40:20 +0900 (JST) Received: from ruby-lang.org (localhost [127.0.0.1]) by fluorine.ruby-lang.org (Postfix) with ESMTP id 4C7913E003 for ; Wed, 6 Mar 2013 12:40:20 +0900 (JST) Delivered-To: ruby-core@ruby-lang.org Date: Wed, 6 Mar 2013 12:40:21 +0900 Posted: Wed, 6 Mar 2013 12:40:20 +0900 From: "marcandre (Marc-Andre Lafortune)" Reply-To: ruby-core@ruby-lang.org Subject: [ruby-core:53159] [ruby-trunk - Feature #8026][Open] Need Module#prepended_modules To: ruby-core@ruby-lang.org Message-Id: X-ML-Name: ruby-core X-Mail-Count: 53159 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-core-ctl@ruby-lang.org; help= X-Mailer: Redmine X-Redmine-Issue-Author: marcandre X-Redmine-Issue-Assignee: matz X-Auto-Response-Suppress: OOF X-Redmine-Issue-Id: 8026 X-Redmine-Mailinglistintegration-Message-Ids: 26283 X-Redmine-Project: ruby-trunk Auto-Submitted: auto-generated X-Redmine-Site: Ruby Issue Tracking System X-Redmine-Host: bugs.ruby-lang.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Precedence: bulk List-Id: ruby-core.ruby-lang.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Issue #8026 has been reported by marcandre (Marc-Andre Lafortune). ---------------------------------------- Feature #8026: Need Module#prepended_modules https://bugs.ruby-lang.org/issues/8026 Author: marcandre (Marc-Andre Lafortune) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: current: 2.1.0 We should have a way to get the list of prepended modules of a class or module. module Mixin end module Outer prepend Mixin end Mixin.prepended_modules #=> [] Outer.prepended_modules #=> [Mixin] See also bug #8025. -- http://bugs.ruby-lang.org/