Returns all the parents of this module according to its name, ordered from nested outwards. The receiver is not contained within the result.
# File activesupport/lib/active_support/core_ext/module/introspection.rb, line 47 def parents parents =  if parent_name parts = parent_name.split('::') until parts.empty? parents << ActiveSupport::Inflector.constantize(parts * '::') parts.pop end end parents << Object unless parents.include? Object parents end