From: Eleanor McHugh Date: 2009-05-06T22:47:27+09:00 Subject: Re: '=||' On 6 May 2009, at 13:05, Rick DeNatale wrote: > I should have mentioned in my reply that since your method missing > body consists of a single puts statement, and since puts returns nil, > that value is non-truthy > > and > > nil || x > > is x which is why the []= gets sent in your example. Perhaps I should have paid more attention to my morning email spam regarding 'retrograde mercury'... Ellie Eleanor McHugh Games With Brains http://slides.games-with-brains.net ---- raise ArgumentError unless @reality.responds_to? :reason