From: Tony Arcieri Date: 2009-06-10T03:59:43+09:00 Subject: Re: require_all 1.0.0: A wonderfully simple way to load your code --0016369202cb101a55046beef64f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Jun 9, 2009 at 7:06 AM, trans wrote: > Also, I have seen another definition of #require_all floating around > that simply loads every .rb file in a given directory. I wonder if > both conceptions of this function (glob loading and directory loading) > could be integrated into one. Eg. > > require_all 'some/path' > > would do the same as > > require_all 'some/path/*.rb' > You ask for it, you get it! I've just released require_all 1.0.1, which in addition to all the other functionality accepts a directory name as an argument and will glob all the *.rb files underneath it. Figured I'd spare the list an additional release announcement :) -- Tony Arcieri medioh.com --0016369202cb101a55046beef64f--