From: Gavin Sinclair Date: 2012-02-02T20:49:55+09:00 Subject: Re: Multiple assignment in conditional On Thu, Feb 2, 2012 at 12:25 AM, Robert Klemme wrote: > I can't test on 1.9.* right now but in 1.8.7 (a,b=nil) is always an > empty array => true.  So if the method returns a single value nil you > probably do not get away without assigning that single value to a > variable and go from there.  Or you test one of the array elements > only for nil. Well spotted wrt 1.8.7. That behaviour is contrary to what I expect. Assignment should always return the RHS, and nil means nil! I'm glad it was changed.