Wednesday, June 24, 2015

Two HERE Docs in Ruby 2.2.2

data = [
<<'EOT1', <<'EOT2'
more text
EOT1
and more
EOT2
]

p data