Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Using Rake as a File-Finding Library

By Peter Cooper / August 29, 2006

FileList["**/*.rb"].egrep(Regexp.new(ARGV.first))

Jim Weirich has an interesting blog post about using Rake's 'FileList' class to find files on your hard drive. I've already started to use the example he gives here.. good find!

Other Posts to Enjoy

Twitter Mentions