From: Joel VanderWerf Date: 2005-08-01T10:13:28+09:00 Subject: [rake] excluding dirs with FileList How can I construct a FileList that excludes dirs? Not a particular directory, but _any_ directory? I had hoped that #exclude could be passed an object whose #=== method returned true for a dir (using File#directory?). But #exclude tries to turn its argument into a string and build up a regex. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407