From: Robert Klemme Date: 2008-06-11T20:32:26+09:00 Subject: Re: Working with arrays 2008/6/11 Clement Ow : >>> Btw it's a sweet solution ;) just that do u think it would be possible >>> to incoporate multiple source paths and each source paths has an array >>> of file_exceptions? >> >> Yes. You just need to create a wrapper method around the one I posted. > What do you mean by wrapper method? care to explain? Thanks! A "wrapper method" wraps the other method, i.e. it calls the other method. You can forward the block from the outer method to the inner method like this def f(&b) x(&b) end robert -- use.inject do |as, often| as.you_can - without end