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