class RuboCop::Cop::Performance::UnfreezeString
def string_value(node)
def string_value(node) if node.receiver.source == 'String' && node.method?(:new) node.arguments.empty? ? "''" : node.first_argument.source else node.receiver.source end end
def string_value(node) if node.receiver.source == 'String' && node.method?(:new) node.arguments.empty? ? "''" : node.first_argument.source else node.receiver.source end end