Difference between <<~ and <<- If you use heredoc in ruby you can choose one of two syntaxes the first `<<-` it takes all whitespace before stared of text so ``` def custom_html <<-HTML HTML end ``` so if you will get string with all withspaces `" \n \n \n \n"` second <<~ will strip it so ``` def custom_html <<~HTML HTML end ``` will give you will get text `"\n \n \n\n"` szymonlach May 25, 2018