From: botp Date: 2012-01-31T21:38:48+09:00 Subject: Re: Multiple assignment in conditional On Tue, Jan 31, 2012 at 2:46 PM, Gavin Sinclair wrote: > # The following causes a SyntaxError: multiple assignment in conditional. > if (a, b = foo) >  puts a > end because it's a parallel assignment and ruby would not know which to check, a or b, no? try eg, a,b=true or a,b,c=1 kind regards -botp