Method: FileList#gsub!

Defined in:
lib/carat/filelist.rb

#gsub!(pat, rep) ⇒ Object

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



211
212
213
214
# File 'lib/carat/filelist.rb', line 211

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