Ruby supports multiline strings.

string_of_great_length = <<~WRD
 This string
 has
 soooooo
 many
 lines.
WRD
# "This string\nhas\nsoooooo\nmany\nlines.\n" 

Another example that includes Interpolation:

name = 'Earl'
hobby = "curl"
pet = "squirrel"

lol = <<~TEXT
  My name is #{name}.
  I like to #{hobby}.
  I have a pet #{pet}
TEXT
# "My name is Earl.\nI like to curl.\nI have a pet squirrel\n"