[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: question about converting Python to Ruby - getopt

Avdi Grimm

5/14/2007 6:39:00 PM

On 5/14/07, Mike Steiner <mikejaysteiner@gmail.com> wrote:
> Is there an equivalent in Ruby of Python's getopt (it parses command-line
> arguments)?

Look into the GetoptLong and optparse libraries. They are both part
of the Ruby standard library.

--
Avdi