--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Processes str as for String#chop, returning str, or nil if str is the empty string. See also String#chomp!. full_name: String#chop! is_singleton: false name: chop! params: | str.chop! => str or nil visibility: public