here 文档 以一个双小于号(<<)打头,后面紧跟叫“结束序列”的字符组。 s = <<END This is a "multi-line" string wishing you a great #{Time.now.year + 1} END