On 12/14/05, Nick Sieger <nicksieger / gmail.com> wrote:
> On 12/14/05, Steve Litt <slitt / earthlink.net> wrote:
> > Hi all,
> >
> > Anyone have a short and easy GetoptLong example in Ruby? It's not
> > object oriented in Perl or C, so I'm in unfamiliar territory.

Have you tried OptionParser? It is fully OO and integrated with Application.

Yes, that was the sound of my own horn. :)

I know CommandLine cannot solve everyones needs, but I would be interested
to hear about it if it doesn't meet your needs. Maybe there is something
I can change or add to the library.

My nefarious global take over plans are to see CommandLine - which
has a Ruby flavor - be put in the stdlib and surplant the existing optparse
and getoptlong parsers which use aging methodologies.

--
Jim Freeze