title: is there an equivalent of Array#compact for empty elements?
body: <p>As we all know, <code>Array#compact</code> removes <code>nil</code> elements from the array.</p>
  
  <p><code>array.reject { |element| element.empty? }</code></p>
  
  <p>would remove empty elements like <code>[]</code> (in rails you could also do <code>#blank?</code> to get rid of empty elements <em>and</em> <code>nil</code> elements).</p>
  
  <p>Is there a shorthand method for removing empty/blank elements like <code>Array#compact</code>? Or is using <code>Array#reject</code> my best bet?</p>
  
  <p>I haven't seen the "empty" equivalent of <code>#compact</code>, if there is one. But maybe I'm just overlooking it.</p>