FICHA · MANJARO

ruby-unindent

Ruby method to unindent strings

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

Description

Removes common indentation from multiline Ruby strings. It is useful for templates, generated text, documentation snippets, tests, and code that keeps readable heredocs in source files.

Unindenting changes presentation, not meaning. Test strings where whitespace is significant, such as YAML, Markdown, code blocks, or protocol payloads.

Permissions

Permissions not analysed for this source yet.