From: Justin Collins Date: 2007-01-17T12:22:35+09:00 Subject: Re: where to find info on ||= operator ? Wang Dong wrote: > "a ||= b" means "a = b if a != nil" > Mmm, no. a ||= b is equivalent to: a = b if a == nil or a == false or a = b if a.nil? or not a or a = b unless a or simply a = a || b -Justin