Flowdock
method

gsub

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: FileList
gsub(pat, rep) public

Return a new FileList with the results of running gsub against each element of the original list.

Example:

FileList['lib/test/file', 'x/y'].gsub(/\//, "\\")
   => ['lib\\test\\file', 'x\\y']
Show source
Register or log in to add new notes.