From: Robert Dober Date: 2008-04-05T22:26:17+09:00 Subject: Re: The ||= assignment operator On Sat, Apr 5, 2008 at 2:40 PM, David A. Black wrote: > Hi -- > > > On Sat, 5 Apr 2008, Robert Dober wrote: > > > > Furthermore things are simple > > > > (1) lval ||= rval is lval = lval || rval > > > > I think you mean: > > lval || lval = rval > > (See the hash default case which flushes this out.) Wow David, as they say "A little knowledge is a dangerous thing", well as I said ignorants like me teaching nonsense :( Thx for correcting me David. Cheers Robert > > > > > David > > -- > Rails training from David A. Black and Ruby Power and Light: > ADVANCING WITH RAILS April 14-17 New York City > INTRO TO RAILS June 9-12 Berlin > ADVANCING WITH RAILS June 16-19 Berlin > See http://www.rubypal.com for details and updates! > > -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein