def indent(n : Int, text : String) String.build do |str| text.split("\n").each do |line| n.times do str << "\t" end str << line str << "\n" end end end