# File lib/facets/more/filelist.rb, line 326 def sub!(pat, rep) each_with_index { |fn, i| self[i] = fn.sub(pat,rep) } self end