From: Justin Collins Date: 2008-02-29T05:44:58+09:00 Subject: Re: YAML iteration aidy wrote: > Hi, > > > > I would like to read the first YAML hash first, then the second and > any more, If the hash's are commneted out, i would like the data and > test to be ignored. > > Aidy > I believe you want YAML.load_documents: http://ruby-doc.org/stdlib/libdoc/yaml/rdoc/classes/YAML.html#M010373 Not sure how comments work in YAML though. -Justin