class Rufo::Formatter

def visit_do_block(node)

def visit_do_block(node)
  # [:brace_block, args, body]
  _, args, body = node
  line = @line
  consume_keyword "do"
  consume_block_args args
  if body.first == :bodystmt
    visit_bodystmt body
  else
    indent_body body
    write_indent unless @line == line
    consume_keyword "end"
  end
end