From: Clement Ow Date: 2008-06-12T11:54:08+09:00 Subject: Re: Working with arrays Robert Klemme wrote: > 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 So what you are saying is I create a method to call another method which is already defined? But won't it be easier to directly call the method? Sorry, I'm abit confused here.. -- Posted via http://www.ruby-forum.com/.