class RuboCop::ResultCache
def relevant_options(options)
effect on which offenses and disabled line ranges are found, and thus
Return the options given at invocation, minus the ones that have no
def relevant_options(options) options = options.reject { |key, _| NON_CHANGING.include?(key) } options.to_s.gsub(/[^a-z]+/i, '_') end