Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
YAML.load_file problems
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Rebhan, Gilbert, post: 4552474"] Hi Stefano, -----Original Message----- From: Stefano Crocco [mailto:stefano.crocco@alice.it]=20 Sent: Tuesday, March 13, 2007 9:31 AM To: ruby-talk ML Subject: Re: YAML.load_file problems /* YAML.load_file returns the contents of the yaml file in a hash or an array=20 (depending on the contents of the file, in your case is a hash). You need to=20 store the result somewhere, like this: config=3DYAML.load_file('config.yaml) ... config['cvsrepos'].each{ |x| ... IO.popen("#{config['CVSEXE']} -d ... } */ works fine :-) thanks Regards, Gilbert [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
YAML.load_file problems
Top