RE: [Wtr-general] Key / value pairs.

2005-08-29 Thread Kingsley
That's pretty cool Looks YAML is the way forward there Cheers Kingsley -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Wood Sent: 30 August 2005 00:10 To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Key / value pairs. That's

RE: [Wtr-general] Key / value pairs.

2005-08-29 Thread Pierre Garigue
he stucture from this yaml\n\n" pp tree ---end of code--- Anyone know a better tool to parses YAML and gives error message? -Pierre Garigue -Original Message- From: Jeff Wood [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 7:10 PM To: wtr-general@rubyforge.org Subject: Re

Re: [Wtr-general] Key / value pairs.

2005-08-29 Thread Jeff Wood
t; > > myConfig = MyConfig.new("config.txt").properties > > config_option_name = myConfig['OPTION_NAME].property > > config_option_value = myConfig['OPTION_NAME'].value > > > > config.txt > > > > # Lines wit

RE: [Wtr-general] Key / value pairs.

2005-08-29 Thread Kingsley
ul   Thanks   Kingsley   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 29 August 2005 06:40 To: wtr-general@rubyforge.org Subject: [Wtr-general] Key / value pairs.   This email is to be read subject to the disclaimer below. He

Re: [Wtr-general] Key / value pairs.

2005-08-29 Thread Atilla Ozgur
I think this question answered before. You can search archives. But I added this to wiki FAQ. I also give wiki text here. Q. What I'd like to do, is to have a configuration file (eg. config.txt), which would have a number of key/value pairs, such as "UserName=user", which would be read by a test s

[Wtr-general] Key / value pairs.

2005-08-28 Thread Leon . Ouretski
This email is to be read subject to the disclaimer below. Hello all, I'm new to Watirr (and Ruby), so forgive me if the question is rather simplistic... What I'd like to do, is to have a configuration file (eg. config.txt), which would have a number of key/value pairs, such as "UserName=user",