View Source Credo.Code.Heredocs (Credo v1.7.2-rc.4)

This module lets you strip heredocs from source code.

Summary

Functions

Link to this function

replace_with_spaces(source_file, replacement \\ " ", interpolation_replacement \\ " ", empty_line_replacement \\ "", filename \\ "nofilename")

View Source

Replaces all characters inside heredocs with the equivalent amount of white-space.