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,694 of 184,458
Downloads: 107,984
Daily
Ranking: 28,297 of 184,451
Downloads: 14
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,702 | 597,540 | figgy |
8,573 | 354,951 | livingstyleguide |
18,622 | 81,512 | amqp-utils |
19,382 | 76,354 | safe_yaml-instructure |
45,580 | 23,355 | genomer-plugin-view |
56,433 | 17,484 | genomer-plugin-summary |
68,152 | 13,447 | facebook_test_users |
75,526 | 11,542 | smarky |
96,022 | 7,919 | genomer-plugin-validate |
116,453 | 5,502 | styleguide-api |
121,376 | 5,011 | sacrifice |
137,612 | 4,023 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |