I’m trying to use a here document to define a multiple-line string in a
I keep getting compile errors- “the specified string (by identifier)
could not be found before EOF”
<% my_str = <<MY_END
I’ve also tried in seperate ERb blocks
<% my_str = <<MY_END %>
<% MY_END %>
Same problem. Is there a simple thing I need to do?
Thanks a lot.