# standard heredoc message = <<-MESSAGE This looks good MESSAGE # heredoc without interpolation message = <<-'MESSAGE' This isn't highlighted correctly MESSAGE # with a method call message = <<-MESSAGE.chomp This looks good MESSAGE def foo() msg = <<-HTML

#{bar}

HTML end def baz() msg = <<~FOO

#{bar}

FOO end