[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Parse conf file for CLI tool

Moritz Reiter

1/26/2007 4:33:00 PM

Hi,

I'm pretty new to ruby and want to program some some linux shell tools
in ruby as exercise. For these tools I want to be able to specify
options as parameters on the command line or in a config file.
I already discovered OptionParser to parse the command line options.

Can someone give me suggestions which classes to look at to simplify the
task of parsing a configuration file for options?

Regards,
mo

--
Posted via http://www.ruby-....

2 Answers

Ara.T.Howard

1/26/2007 4:46:00 PM

0

Moritz Reiter

1/28/2007 3:43:00 PM

0

That's exactly what I was looking for. Thanks!

--
Posted via http://www.ruby-....