class Module

Public Instance Methods

all_the_modules() click to toggle source
# File lib/outliers/mixins.rb, line 2
def all_the_modules
  [self] + constants.map {|const| const_get(const) }
    .select {|const| const.is_a? Module }
    .flat_map {|const| const.all_the_modules }
end