class RuboCop::Cop::Performance::CaseWhenSplat

def new_branch_without_then(node, new_condition)

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