Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: question about converting Python to Ruby - getopt
darren kirby
5/14/2007 6:39:00 PM
quoth the Mike Steiner:
> Is there an equivalent in Ruby of Python's getopt (it parses command-line
> arguments)?
>
> Mike Steiner
There are two: GetOptLong and OptionParser. Both are in the Standard Library.
I believe GetOptLong is closer to the Python implementation.
-d
--
darren kirby :: Part of the problem since 1976 ::
http://badco...
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: question about converting Python to Ruby - getopt
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password