From: Jos Backus Date: 2010-05-19T02:23:39+09:00 Subject: Re: YAML validation --000e0cd6ad8eff91570486e17b6e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable feeds.compact! On May 18, 2010 10:11 AM, "Kevin Austin" wrote: Thomas Sawyer wrote: > On May 18, 10:19=EF=BF=BDam, Kevin Austin wrote= : >> >> =EF=BF=BDdo crap >> end > > probably 'next' would do if your looping over files. Also there is > 'retry'. > >> a go... 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. --=20 Posted via http://www.ruby-forum.com/. --000e0cd6ad8eff91570486e17b6e--