Ryan Davis wrote in post #971625:
> }.compact
>
> that will be a LOT faster than your second pass with reject/nil?.
Yes, that's what I was looking for (could not remember/guess the name).
Thks

-- 
Posted via http://www.ruby-forum.com/.