strip_heredoc
is a one-method utility library for Elixir projects that needs to strips indentation in heredocs. This is a direct Elixir port from Rails!
The complete documentation for strip_heredoc
is located here.
To use strip_heredoc
with your projects, edit your mix.exs
file and add it as a dependency:
defp deps do
[{:strip_heredoc, "~> 0.8.0"}]
end
To use strip_heredoc
, add
import StripHeredoc
to the top of the module so you can use strip_heredoc/1
function.
Example:
This software is licensed under the MIT license.