1 Aug 2005 03:13
[rake] excluding dirs with FileList
Joel VanderWerf <vjoel <at> path.berkeley.edu>
2005-08-01 01:13:28 GMT
2005-08-01 01:13:28 GMT
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
RSS Feed