Mega Code Archive

 
Categories / Ruby / String
 

Chop removes the last character (a quote) with abandon

joe = "Joe joe" puts joe.chop!