class RuboCop::OptionsValidator
def boolean_or_empty_cache?
def boolean_or_empty_cache? !@options.key?(:cache) || %w[true false].include?(@options[:cache]) end
def boolean_or_empty_cache? !@options.key?(:cache) || %w[true false].include?(@options[:cache]) end