PageRenderTime 46ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/java/jruby-1.1.3/lib/ruby/gems/1.8/doc/rake-0.8.1/ri/Rake/FileList/gsub-i.yaml

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