View Source Credo.Code.Heredocs (Credo v1.6.4)

This module lets you strip heredocs from source code.

Link to this section Summary

Link to this section 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.