class RuboCop::Cop::Performance::Size
def hash?(node)
def hash?(node) _, constant = *node.receiver node.hash_type? || constant == :Hash || node.method_name == :to_h end
def hash?(node) _, constant = *node.receiver node.hash_type? || constant == :Hash || node.method_name == :to_h end