print <<off
  This is the second way of creating
  here document ie. multiple line string;
 off

报错:
ruby初步学习中遇到的错误


原因:
off前面有一个空格

相关文章: