Categories
How to remove an array with empty elements from an array of arrays in Ruby?
There is such an array with arrays
arr =
Answer the question
In order to leave comments, you need to log in
arr.delete_if{|n| n.include?('')}
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question