/tools/Rake/lib/ruby/gems/1.8/doc/rake-0.8.7/ri/Rake/FileList/gsub-i.yaml

https://github.com/ncgonz/Giles · YAML · 16 lines · 15 code · 1 blank · 0 comment · 0 complexity · ae1520f78f1af969bda194045cdbdc9a MD5 · raw file

  1. --- !ruby/object:RI::MethodDescription
  2. aliases: []
  3. block_params:
  4. comment:
  5. - !ruby/struct:SM::Flow::P
  6. body: Return a new FileList with the results of running <tt>gsub</tt> against each element of the original list.
  7. - !ruby/struct:SM::Flow::P
  8. body: "Example:"
  9. - !ruby/struct:SM::Flow::VERB
  10. body: " FileList['lib/test/file', 'x/y'].gsub(/\\//, &quot;\\&quot;)\n =&gt; ['lib\\test\\file', 'x\\y']\n"
  11. full_name: Rake::FileList#gsub
  12. is_singleton: false
  13. name: gsub
  14. params: (pat, rep)
  15. visibility: public