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: 15,507 of 183,471
Downloads: 107,250
Daily
Ranking: 25,716 of 183,459
Downloads: 4
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,615 | 587,825 | figgy |
8,441 | 350,580 | livingstyleguide |
18,398 | 81,091 | amqp-utils |
19,090 | 76,298 | safe_yaml-instructure |
45,277 | 23,168 | genomer-plugin-view |
56,107 | 17,333 | genomer-plugin-summary |
67,736 | 13,348 | facebook_test_users |
75,251 | 11,427 | smarky |
95,590 | 7,853 | genomer-plugin-validate |
116,125 | 5,436 | styleguide-api |
121,050 | 4,950 | sacrifice |
137,055 | 3,984 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |