class RuboCop::Cop::Style::HashSyntax
def force_hash_rockets?(pairs)
def force_hash_rockets?(pairs) @force_hash_rockets ||= begin cop_config['UseHashRocketsWithSymbolValues'] && pairs.map(&:value).any?(&:sym_type?) end end
def force_hash_rockets?(pairs) @force_hash_rockets ||= begin cop_config['UseHashRocketsWithSymbolValues'] && pairs.map(&:value).any?(&:sym_type?) end end