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: 14,944 of 180,477
Downloads: 104,796
Daily
Ranking: 20,591 of 180,469
Downloads: 6
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,369 | 565,638 | figgy |
7,984 | 333,580 | livingstyleguide |
17,743 | 79,273 | amqp-utils |
18,209 | 76,161 | safe_yaml-instructure |
44,359 | 22,454 | genomer-plugin-view |
55,067 | 16,802 | genomer-plugin-summary |
66,800 | 12,866 | facebook_test_users |
74,311 | 11,025 | smarky |
94,114 | 7,626 | genomer-plugin-validate |
114,964 | 5,236 | styleguide-api |
120,159 | 4,751 | sacrifice |
135,465 | 3,854 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |