[ruby] Ruby, remove last N characters from a string?