method

gsub

v1_9_3_392 - Show latest stable - Class: Rake::FileList
gsub(pat, rep)
public

Return a new FileList with the results of running gsub against each element of the original list.

Example:

FileList['lib/test/file', 'x/y'].gsub(/\//, "\\")
   => ['lib\\test\\file', 'x\\y']