RubyGems Navigation menu

heredoc_unindent 1.1.2

This gem removes common margin from indented strings, such as the ones produced by indented heredocs. In other words, it strips out leading whitespace chars at the beggining of each line, but only as much as the line with the smallest margin. It is acknowledged that many strings defined by heredocs are just code and fact is that most parsers are insensitive to indentation. If, however, the strings are to be used otherwise, be it for printing or testing, the extra indentation will probably be an issue and hence this gem.

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 1.2.0 - April 15, 2015 (10 KB)
  2. 1.1.2 - February 07, 2011 (11,5 KB)
  3. 1.1.1 - January 29, 2011 (11,5 KB)
  4. 1.1.0 - January 29, 2011 (11,5 KB)
  5. 1.0.6 - January 27, 2011 (10,5 KB)
Toon alle versies (11 totaal)

Development afhankelijkheden (1):

hoe >= 2.8.0

Eigenaren:

Authors:

  • Adriano Mitre

SHA 256 checksum:

698fea6db6d871f34f94498da8bf6e29330792a4f114f87136579fc63586f5ed

Total downloads 105.108

Voor deze versie 42.469

Licenties:

N/A

Required Ruby Version: Geen

Links: