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,402 of 182,915
Downloads: 106,797
Daily
Ranking: 28,629 of 182,900
Downloads: 7
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,563 | 583,517 | figgy |
8,379 | 347,780 | livingstyleguide |
18,244 | 80,807 | amqp-utils |
18,925 | 76,276 | safe_yaml-instructure |
45,083 | 23,054 | genomer-plugin-view |
55,893 | 17,246 | genomer-plugin-summary |
67,516 | 13,274 | facebook_test_users |
75,069 | 11,357 | smarky |
95,327 | 7,814 | genomer-plugin-validate |
115,951 | 5,398 | styleguide-api |
120,860 | 4,916 | sacrifice |
136,794 | 3,959 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |