Exclude must not be returning the filelist. That is a bug. I'll fix it in the next release.
Thanks for the heads up.
···
--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
I'm confused... Isn't FileList#exclude supposed to return an array of
strings, not a FileList? (Rake 0.4.3, anyway)
Well, exclude should return a list of strings (actually a list of file
names). The type of list it returns is a FileList. And since FileList
acts a lot like an array (through the magic of DuckTyping), returning the
file list object *is* returning an array of strings ... it's just not an
Array of strings.
···
--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)