Ruby Remove Empty Strings From Array To Number