--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Performs the substitutions of String#sub in place, returning str, or nil 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