PageRenderTime 86ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/jruby-1.4.0/share/ri/1.8/system/String/gsub%21-i.yaml

https://github.com/expectedbehavior/testing_talk_demo
YAML | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | aa318d299ec95e7efa2d2c615c7a92fd MD5 | raw file
Possible License(s): CPL-1.0, AGPL-1.0, LGPL-2.1, JSON, GPL-3.0
  1. --- !ruby/object:RI::MethodDescription
  2. aliases: []
  3. block_params:
  4. comment:
  5. - !ruby/struct:SM::Flow::P
  6. body: Performs the substitutions of <tt>String#gsub</tt> in place, returning <em>str</em>, or <tt>nil</tt> if no substitutions were performed.
  7. full_name: String#gsub!
  8. is_singleton: false
  9. name: gsub!
  10. params: |
  11. str.gsub!(pattern, replacement) => str or nil
  12. str.gsub!(pattern) {|match| block } => str or nil
  13. visibility: public