/vendor/jruby-1.4.0/share/ri/1.8/system/String/gsub%21-i.yaml
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
- --- !ruby/object:RI::MethodDescription
- aliases: []
- block_params:
- comment:
- - !ruby/struct:SM::Flow::P
- body: Performs the substitutions of <tt>String#gsub</tt> in place, returning <em>str</em>, or <tt>nil</tt> if no substitutions were performed.
- full_name: String#gsub!
- is_singleton: false
- name: gsub!
- params: |
- str.gsub!(pattern, replacement) => str or nil
- str.gsub!(pattern) {|match| block } => str or nil
- visibility: public