indented_io 0.7.1
IndentedIO extends Kernel, IO, and StringIO with an #indent method that returns an IndentedIO object. The IndentedIO object acts as the original object but redefines the output methods #print, #printf, #puts, and #p to print their output indented. Indentations are stacked so that each new indentation adds to the previous indendation