From: Priyanka Pathak Date: 2010-04-12T15:50:32+09:00 Subject: Re: Comparing Arrays Hi, "&" is bitwise operator. "and" is logical operator & for composition. that's main difference between "&" and "and". so, as you need to compare array element use &. -- Posted via http://www.ruby-forum.com/.