# 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 <div> <h4>#{bar}</h4> </div> HTML end def baz() msg = <<~FOO <div> <h4>#{bar}</h4> </div> FOO end