[Uw-ruby] parsing non-switch options in OptionParser
Dan McHarness
dmcharness at yahoo.com
Thu Nov 15 11:14:51 PST 2007
I've found parsing the switch arguments in
OptionParser straight forward enough, but scanning
thru the optparse.rb code I haven't yet figured out
how to grab the subsequent non-switch variable number
arguments such as needed for the pgrep assignment.
I can easily grab the remainder of the arguments
outside of OptionParser, but I was hoping for a
cleaner way of doing it inside OptionParser instead.
any ideas?
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs
More information about the Uw-ruby
mailing list