From: "Marvin Gülker" Date: 2010-08-03T05:55:22+09:00 Subject: Re: Iteration through File.file? misses entries for which File.file?(entry) == true -- FIXED Kyle Barbour wrote: > Interesting, thanks! Is there any reason to prefer either this > solution or the one Martin gave in the above post? I'd prefer the Dir[] variant, since it's more compact. And if you want to search for files via wildcards, it's the best way to go I think. Oh, and one last note: My name is "Marvin", not "Martin". Note the v. ;-) Vale, Marvin -- Posted via http://www.ruby-forum.com/.