beautify ruby heredoc, thanks @acook