PageRenderTime 95ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/gems/doc/rake-0.8.1/ri/Rake/FileList/gsub-i.yaml

https://github.com/joemoore/gimmeallyourlovin
YAML | 16 lines | 15 code | 1 blank | 0 comment | 0 complexity | c0729589ddba5388b0a5b7d403b3babc MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  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