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,447 of 183,107
Downloads: 106,960
Daily
Ranking: 17,852 of 183,092
Downloads: 16
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
6,575 | 584,900 | figgy |
8,407 | 348,830 | livingstyleguide |
18,293 | 80,907 | amqp-utils |
18,996 | 76,283 | safe_yaml-instructure |
45,141 | 23,096 | genomer-plugin-view |
55,945 | 17,282 | genomer-plugin-summary |
67,601 | 13,299 | facebook_test_users |
75,105 | 11,385 | smarky |
95,403 | 7,829 | genomer-plugin-validate |
115,977 | 5,412 | styleguide-api |
120,902 | 4,928 | sacrifice |
136,843 | 3,968 | harmonized_tariff |
Owners
# | Gravatar | Handle |
---|---|---|
1 | adrianomitre |