method

chomp!

v2_1_10 - Show latest stable - Class: String
chomp!(p1 = v1)
public

Modifies str in place as described for String#chomp, returning str, or nil if no modifications were made.