[ruby] What is the canonical way to trim a string in Ruby without creating a new string?