class RuboCop::Cop::Performance::RedundantMerge
def rewrite_with_modifier(node, parent, new_source)
def rewrite_with_modifier(node, parent, new_source) indent = ' ' * configured_indentation_width padding = "\n#{indent + leading_spaces(node)}" new_source.gsub!("\n", padding) format(WITH_MODIFIER_CORRECTION, keyword: parent.loc.keyword.source, condition: parent.condition.source, leading_space: leading_spaces(node), indent: indent, body: new_source).chomp end