method
chop!
chop!()
public
Processes str as for String#chop, returning str, or nil if str is the empty string. See also String#chomp!.
chop!()
public
Processes str as for String#chop, returning str, or nil if str is the empty string. See also String#chomp!.