PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): BSD-2-Clause, Apache-2.0, MPL-2.0-no-copyleft-exception, BSD-3-Clause, GPL-2.0
  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