class Rake::FileList

def sub!(pat, rep)

Same as +sub+ except that the original file list is modified.
def sub!(pat, rep)
  each_with_index { |fn, i| self[i] = fn.sub(pat,rep) }
  self
end