class RuboCop::Cop::Performance::CaseWhenSplat

def new_condition_with_then(node, new_condition)

def new_condition_with_then(node, new_condition)
  "\n#{indent_for(node)}when " \
  "#{new_condition} then #{node.body.source}"
end