method

chomp!

v1_9_1_378 - 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.