2008/6/11 Clement Ow <clement.ow / asia.bnpparibas.com>:
>>> 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