variable $OFS

$OFS -> String | nil[permalink][rdoc][edit] [added by English]
$OUTPUT_FIELD_SEPARATOR -> String | nil [added by English]

$, の別名

require "English"

array = %w|hoge fuga ugo bar foo|
p array.join #=> "hogefugaugobarfoo"
$OUTPUT_FIELD_SEPARATOR = ","
p array.join #=> "hoge,fuga,ugo,bar,foo"