i think it's because chomp is, more or less, an extension of the chop function, which simply removes the last character from a string and returns it (whether or not that character is '\n'). chop -> chomp. chomp is just like a smarter version of chop, for a specific situation.
|