Iñaki Baz Castillo
4/5/2008 3:58:00 PM
El S=C3=A1bado, 5 de Abril de 2008, Stefano Crocco escribi=C3=B3:
> On Saturday 05 April 2008, I=C3=B1aki Baz Castillo wrote:
> > Hi, I usually do Ruby scripts for some tasks and many of them allow
> > inline parameters, for example:
> >
> > ./script1.rb -n -vv -o file.out filein
> >
> > Is there any Ruby library/gem to parse inline parameters easily? this i=
s,
> > parsing ARGV Array.
> >
> > Thanks.
>
> There's OptionParser which is included in ruby standard library. Use ri
> OptionParser to learn more about it (you need to require 'optparse' before
> you can use it)
Thanks a lot, I'll try it.
=2D-=20
I=C3=B1aki Baz Castillo