class Rufo::Formatter
def visit_for(node)
def visit_for(node) #[:for, var, collection, body] _, var, collection, body = node line = @line consume_keyword "for" consume_space visit_comma_separated_list to_ary(var) skip_space if comma? check :on_comma write ',' next_token skip_space_or_newline end consume_space consume_keyword "in" consume_space visit collection skip_space indent_body body write_indent if @line != line consume_keyword "end" end