RubyGems Navigation menu

heredoc_unindent 1.1.0

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:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 1.2.0 - April 15, 2015 (10KB)
  2. 1.1.2 - February 07, 2011 (11.5KB)
  3. 1.1.1 - January 29, 2011 (11.5KB)
  4. 1.1.0 - January 29, 2011 (11.5KB)
  5. 1.0.6 - January 27, 2011 (10.5KB)
全てのバージョンを表示(全11件)

Development依存関係 (1):

hoe >= 2.8.0

所有者:

作者:

  • Adriano Mitre

SHA 256チェックサム:

4d65fef75b50a996a43ecd1934fe995f6df46b0f7fb5b0512ff7d9c2544c0bd4

累計ダウンロード数 104,858

このバージョンのみ 3,641

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: