heredoc_unindent 1.0.2
Removes common margin from indented strings such as the ones produced by heredocs, i.e., 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 contain nothing but code to be read exclusively by parsers (e.g., Kernel#eval), which are often insensitive to extra indentation. Nevertheless, in the cases the string is printed or displayed, the unintended indentation is rarely innocuous -- and thus the reason for this gem.
Gemfile:
=
Copy to clipboard
Copied!
Installeer:
=
Development afhankelijkheden (1):
hoe
>= 2.8.0