class RuboCop::Cop::Style::EmptyLiteral
def offense_hash_node?(node)
def offense_hash_node?(node) # If Hash.new takes a block, it can't be changed to {}. hash_node(node) && !hash_with_block(node.parent) end
def offense_hash_node?(node) # If Hash.new takes a block, it can't be changed to {}. hash_node(node) && !hash_with_block(node.parent) end