method

sub

v2_1_10 - Show latest stable - Class: Rake::FileList
sub(pat, rep)
public

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

Example:

FileList['a.c', 'b.c'].sub(/\.c$/, '.o')  => ['a.o', 'b.o']