From: Marvin G├╝lker on
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/.