Method: FileList#gsub!

Defined in:
lib/filelist.rb

#gsub!(pat, rep) ⇒ Object

Same as gsub except that the original file list is modified.



279
280
281
282
# File 'lib/filelist.rb', line 279

def gsub!(pat, rep)
  each_with_index { |fn, i| self[i] = fn.gsub(pat,rep) }
  self
end