관리-도구
편집 파일: gsub%21-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to <tt>Kernel::gsub</tt>, except <tt>nil</tt> is returned if <tt>$_</tt> is not modified. - !ruby/struct:SM::Flow::VERB body: " $_ = "quick brown fox"\n gsub! /cat/, '*' #=> nil\n $_ #=> "quick brown fox"\n" full_name: Kernel#gsub! is_singleton: false name: gsub! params: | gsub!(pattern, replacement) => string or nil gsub!(pattern) {|...| block } => string or nil visibility: public