I\'m having a problem with a Ruby heredoc i\'m trying to make. It\'s returning the leading whitespace from each line even though i\'m including the - operator, which is supp
another easy to remember option is to use unindent gem
require 'unindent' p <<-end.unindent hello world end # => "hello\n world\n"