Ruby Remove Empty Strings From Array To Hashmap