Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library English > module Kernel > $ORS

variable $ORS

$ORS [added by English]
$OUTPUT_RECORD_SEPARATOR [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