/tools/Rake/lib/ruby/gems/1.8/doc/rake-0.8.7/ri/Rake/FileList/gsub-i.yaml
YAML | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | ae1520f78f1af969bda194045cdbdc9a MD5 | raw file
Possible License(s): BSD-2-Clause, Apache-2.0, MPL-2.0-no-copyleft-exception, BSD-3-Clause, GPL-2.0
- --- !ruby/object:RI::MethodDescription
- aliases: []
-
- block_params:
- comment:
- - !ruby/struct:SM::Flow::P
- body: Return a new FileList with the results of running <tt>gsub</tt> against each element of the original list.
- - !ruby/struct:SM::Flow::P
- body: "Example:"
- - !ruby/struct:SM::Flow::VERB
- body: " FileList['lib/test/file', 'x/y'].gsub(/\\//, "\\")\n => ['lib\\test\\file', 'x\\y']\n"
- full_name: Rake::FileList#gsub
- is_singleton: false
- name: gsub
- params: (pat, rep)
- visibility: public