From: itsme213 Date: 2004-11-15T08:43:21+09:00 Subject: Re: Dynamic define_method on class creation per module namespace "trans. (T. Onoma)" wrote > Thanks, I may be able to work with that. If I can just get > all_modules_that_have_included_ClassMethods :) Worst case: ObjectSpace.each_object(Module) { |m| m.included_modules.include?(ClassMethods) } Better: hook into ClassMethods#included(module) to mark all modules that include ClassMethods.