In Ruby 2.3 you can use <<~ instead of <<- to automatically remove indentation from a HEREDOCs:
<<~
<<-
str = <<~MESSAGE Hello Universe! This is me. Bye! MESSAGE
str will now be:
str
Hello Universe! This is me. Bye!