From: Mohammed Yasin Rahman Date: 2012-11-27T23:33:08+09:00 Subject: Re: error in if --Apple-Mail=_F50AA182-65B5-4F70-8FAC-635436596DEA Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Yes, I was trying to code like python :). Now it's okay. Thanks On Nov 27, 2012, at 3:29 PM, "Carlo E. Prelz" wrote: > "if 1 in a" is not valid Ruby syntax. > > A working line #3 could be > > if(a.include?(1)) --Apple-Mail=_F50AA182-65B5-4F70-8FAC-635436596DEA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Yes, = I was trying to code like python :). Now it's okay. = Thanks


On Nov 27, 2012, at 3:29 = PM, "Carlo E. Prelz" <fluido@fluido.as> = wrote: