module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount
def discount_repeated_attribute?(send_node)
def discount_repeated_attribute?(send_node) return false unless attribute_call?(send_node) repeated = true find_attributes(send_node) do |hash, lookup| return false if hash.nil? repeated = false hash[lookup] = {} end repeated end