From: Kevin Austin Date: 2010-05-19T02:10:39+09:00 Subject: Re: YAML validation Thomas Sawyer wrote: > On May 18, 10:19�am, Kevin Austin wrote: >> >> �do crap >> end > > probably 'next' would do if your looping over files. Also there is > 'retry'. > >> a good site or book would be fine > > http://www.ruby-doc.org/docs/ProgrammingRuby/tut_exceptions.html Working (kind of) I just purged all the nil spaces for the array feeds.delete_if{|x| x.nil?} So that ignores the nil spaces of the array. Now I just have to figure out how to ignore the incorrectly formatted yamls. Thanks again for your help. -- Posted via http://www.ruby-forum.com/.