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