I think you are interested in ARGV[], which is an array containing all
the command line arguments given when the ruby program was invoked.
If you typed test_program.rb One Two Three, then ARGV[] would be the
array ["One","Two","Three"]
Jared
One of the developers asked me whether WATIR can read and process
arguments from the DOS-prompt command line?
Is there an easy way for WATIR to interface with the command line?
------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general