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

variable $ARGV

$ARGV [added by English]

$* の別名

require "English"
p $ARGV
# end of sample.rb

ruby sample.rb 31 /home/hoge/fuga.txt
#=> ["31", "/home/hoge/fuga.txt"]