From: Gavin Sinclair Date: 2012-02-01T21:42:09+09:00 Subject: Re: Multiple assignment in conditional On Wed, Feb 1, 2012 at 11:33 PM, Robert Klemme wrote: > > There are plenty more solutions, for example: Both contain this, which I think is rather ugly: >   week_and_day[0] += @t1.number_of_weeks Ruby is beautiful for many reasons. One of those is the ability to return multiple values in a nice syntactic way. These solutions are not embracing that; they are working with an array instead of with two values. Alternatives aside, what do you think of my preferred solution? Gavin