method

chomp!

v2_6_3 - Show latest stable - Class: String
chomp!(*args)
public

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