How to access command line parameters of a ruby script?
Fritz T. 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”.
Thanks.