>> I need to test for a case where 5 variables are all empty.
>

> 2.0.0 (main):0 > [ a,b,c,d,e ].all? { |x| x.empty? }
> => true
> 2.0.0 (main):0 > a = 'a'
> => "a"
> 2.0.0 (main):0 > [ a,b,c,d,e ].all? { |x| x.empty? }
> => false
> 2.0.0 (main):0 >
>
> HTH,

Thanks!

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