Categories: None [Edit]
heredoc_unindent
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.
Total
Ranking: 16,646 of 193,188
Downloads: 117,629
Daily
Ranking: 15,843 of 193,154
Downloads: 40
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 7,268 | 636,785 | figgy |
| 9,445 | 375,528 | livingstyleguide |
| 19,988 | 85,923 | amqp-utils |
| 21,372 | 77,115 | safe_yaml-instructure |
| 47,509 | 25,157 | genomer-plugin-view |
| 58,576 | 18,873 | genomer-plugin-summary |
| 70,921 | 14,385 | facebook_test_users |
| 77,336 | 12,634 | smarky |
| 98,939 | 8,554 | genomer-plugin-validate |
| 118,599 | 6,095 | styleguide-api |
| 122,833 | 5,642 | sacrifice |
| 140,353 | 4,434 | harmonized_tariff |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | adrianomitre |