From: Fritz Trapper on
How to access command line parameters of a ruby script?
--
Posted via http://www.ruby-forum.com/.

From: Fritz Trapper on
Thanks.
--
Posted via http://www.ruby-forum.com/.

From: Joel VanderWerf on
Fritz Trapper wrote:
> How to access command line parameters of a ruby script?

Short answer: the array ARGV contains them.

Long answer: there are several libraries for parsing switches,
subcommands, etc. out of this array. Do a web search for "ruby command
line parsing".