strip_heredoc
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.
Adding strip_heredoc To Your Project
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"}]
endExamples
To use strip_heredoc, add
import StripHeredoc
to the top of the module so you can use strip_heredoc/1 function.
Example:
License
This software is licensed under the MIT license.