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

Required Ruby Version

>= 0

Authors

Claus Rasmussen

Versions

  1. 0.11.2 November 22, 2025 (13 KB)
  2. 0.11.1 November 22, 2025 (13 KB)
  3. 0.11.0 November 22, 2025 (13 KB)
  4. 0.10.0 September 18, 2025 (13 KB)
  5. 0.9.0 July 20, 2022 (13 KB)
  6. 0.7.2 May 11, 2018 (11 KB)
Show all versions (19 total)

SHA 256 checksum