class Rufo::Formatter

def visit_begin(node)

def visit_begin(node)
  if op?("^")
    # ^(expression)
    #
    # [:begin, expression_node]
    consume_op "^"
    skip_space
    consume_token :on_lparen
    skip_space
    visit node[1]
    skip_space
    consume_token :on_rparen
  else
    # begin
    #   body
    # end
    #
    # [:begin, [:bodystmt, body, rescue_body, else_body, ensure_body]]
    consume_keyword "begin"
    visit node[1]
  end
end