title: How do I strip off nil or empty elements from the end of my array?
body: <p>Using Ruby 2.4.  I have an arry with a numbegr of string elements.  I would like to strip off elemetns that are either nil or empty from teh end of the array so I have</p>
  
  <pre><code>row_data.pop until row_data.last || row_data.empty?
  </code></pre>
  
  <p>But this is only stripping the nil elements off the end of the array. How do I adjust the above so that it also includes thte empty elements?</p>