class Rufo::Formatter

def consume_end

def consume_end
  return unless current_token_kind == :on___end__
  line = current_token[0][0]
  write_line
  consume_token :on___end__
  lines = @code.lines[line..-1]
  lines.each do |line|
    write line.chomp
    write_line
  end
end