# File lib/rake/file_list.rb, line 258 def sub!(pat, rep) each_with_index { |fn, i| self[i] = fn.sub(pat, rep) } self end