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,186 of 187,224
Downloads: 111,018
Daily
Ranking: 24,607 of 187,196
Downloads: 39
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,905 | 630,071 | figgy |
8,930 | 363,563 | livingstyleguide |
19,179 | 83,646 | amqp-utils |
20,240 | 76,750 | safe_yaml-instructure |
46,295 | 24,295 | genomer-plugin-view |
57,111 | 18,254 | genomer-plugin-summary |
69,245 | 13,935 | facebook_test_users |
76,414 | 12,028 | smarky |
97,266 | 8,222 | genomer-plugin-validate |
117,270 | 5,795 | styleguide-api |
121,378 | 5,360 | sacrifice |
139,731 | 4,156 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |