class RuboCop::ConfigStore
def initialize
def initialize # @options_config stores a config that is specified in the command line. # This takes precedence over configs located in any directories @options_config = nil # @path_cache maps directories to configuration paths. We search # for .rubocop.yml only if we haven't already found it for the # given directory. @path_cache = {} # @object_cache maps configuration file paths to # configuration objects so we only need to load them once. @object_cache = {} end