variable $ORS

$ORS -> String | nil[permalink][rdoc][edit] [added by English]
$OUTPUT_RECORD_SEPARATOR -> String | nil [added by English]

$\ の別名

require "English"

print "hoge\nhuga\n"
$OUTPUT_RECORD_SEPARATOR = "\n"
print "fuge"
print "ugo"
# end of sample.rb

ruby sample.rb
hoge
huga
fuge
ugo