📜  ruby 打印换行符 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:49.539000             🧑  作者: Mango

代码示例1
print "Hi\n"   # For UNIX-like systems including Mac OS X.
print "Hi\r\n" # For Windows.