class Rubocop::Config
def base_configs(path, inherit_from)
def base_configs(path, inherit_from) base_files = case inherit_from when nil then [] when String then [inherit_from] when Array then inherit_from end base_files.map do |f| f = File.join(File.dirname(path), f) unless f.start_with?('/') print 'Inheriting ' if debug? load_file(f) end end