結果 : ruby remove from end of string