method
chomp!

chomp!(*args)
public
Modifies str in place as described for String#chomp, returning str, or nil if no modifications were made.
chomp!(*args)
public
Modifies str in place as described for String#chomp, returning str, or nil if no modifications were made.