/java/jruby-1.1.3/lib/ruby/gems/1.8/doc/rake-0.8.1/ri/Rake/FileList/gsub-i.yaml
YAML | 17 lines | 17 code | 0 blank | 0 comment | 0 complexity | 8f51e46653809dc5634f97e4e0ec69e4 MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-2.1, JSON, CPL-1.0
- --- !ruby/object:RI::MethodDescription
- params: (pat, rep)
- is_singleton: false
- block_params:
- name: gsub
- 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
- visibility: public
- aliases: []