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