--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Performs the substitutions of <tt>String#sub</tt> in place, returning <em>str</em>, or <tt>nil</tt> if no substitutions were performed.
full_name: String#sub!
is_singleton: false
name: sub!
params: |
  str.sub!(pattern, replacement)          => str or nil
  str.sub!(pattern) {|match| block }      => str or nil

visibility: public
