Jos Backus
3/16/2005 6:29:00 AM
Hello,
On Wed, Mar 16, 2005 at 08:57:35AM +0900, nobu.nokada@softhome.net wrote:
> Actually, #parse! just raises a exception, subclass of
> OptionParser::Error, and ARGV.options does rescue it in the
> given block and converts to nil.
[example snipped]
Neat. I would never have figured that one out :-/
Thanks for the example, Nobu, that's the type of control I'm looking for.
Maybe this can be added to the examples in the documentation...
Cheers,
--
Jos Backus
jos at catnook.com