# The chop (or chop!) method chops off the last character of a string# the chomp (chomp!) method chomps off the record separator ($/) joe = <Tqlimerickputs joe# Apply chomp! to remove the last record separator (\n)joe.chomp! puts joe