class RuboCop::AST::WhenNode

def body

Returns:
  • (Node, nil) - the body of the `when` node
def body
  node_parts[-1]
end