[ruby] Ruby function to remove all white spaces?