Hey,

glob does the trick. I create two arrays with the wanted filenames and 
then combine them and so parse only the wanted files.

Although technically nothing changed (glob just checks for the name as 
well) it is much faster now.

Thanks everybody.

-- 
Posted via http://www.ruby-forum.com/.