/gems/doc/facets-2.4.3/ri/FileList/gsub-i.yaml
YAML | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | 75a8bd14f7af385d52cd8e71d2b2e836 MD5 | raw file
Possible License(s): AGPL-1.0, 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: FileList#gsub
- is_singleton: false
- name: gsub
- params: (pat, rep)
- visibility: public