/gems/doc/rake-0.8.1/ri/Rake/FileList/gsub-i.yaml
YAML | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | c0729589ddba5388b0a5b7d403b3babc MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
- --- !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