From: Jano Svitok Date: 2008-03-10T20:04:42+09:00 Subject: Re: newbie question On Mon, Mar 10, 2008 at 11:50 AM, Farrel Lifson wrote: > On 10/03/2008, Frantisek Psotka wrote: > > is in ruby operator for: > > > > a = b if b > > > > a (operator) b > > a ||= b > > Farrel a ||= b is a = a || b that is a = b if !a that is a = b unless a It is equal to "a = b if b" if both a and b are of boolean type (doesn't work for e.g. numbers).