Hi,
I am relatively new to Ruby and need to write a script that will handle mulitple input files. It should be called like so:
script.rb -i file*
where the directory contains multiple files, like file1.xml
, file2.xml
and so on.
Just a quick question: How will this wildcard be expanded? Do I need to program that in my script? I am using the OptionParser
Class for parsing commandline arguments.
Thanks!