Ruby中写换行 print("Hello,\nRuby\n!\n") print("Hello, Ruby ! ") 这两个竟然是一样的;就是说,可以直接回车; 转载于:https://www.cnblogs.com/stono/p/7076131.html