From: nobu.nokada@... Date: 2002-11-15T09:19:55+09:00 Subject: Re: Syntactic Sugar Question Hi, At Fri, 15 Nov 2002 09:01:26 +0900, Bret Jolly wrote: > This is evidently syntax sugar for > > foo = (foo || "oink") This expression is an assignment. > To add to the mystery, > > foo ||= false unless not foo This equivalents to foo = false unless foo unless not foo foo = false if not foo if foo foo = false if not foo and foo foo = false if false Therefore, the assignment never occur. -- Nobu Nakada