sub!(pat, rep)
Same as sub except that the original file list is modified.
# File lib/rake/file_list.rb, line 249 def sub!(pat, rep) each_with_index { |fn, i| self[i] = fn.sub(pat,rep) } self end