When you include modules in a class or other module you can call
@mymod.included_modules
to get a list of modules included.
Is there an equivalent for listing the modules a module was extended by?
module Feature1
end
module Feature2
extend Feature1
end
Feature2.extended_modules #=> [Feature1]