Ruby usuń element zerowy w tablicy
[nil, 'apple', 'orange', '', 'banana'].compact
=> ["apple", "orange", "", "banana"]
Unsightly Unicorn
[nil, 'apple', 'orange', '', 'banana'].compact
=> ["apple", "orange", "", "banana"]