Lionel Bouton wrote:
> 7stud -- wrote:
>> result = (x=20)
>> puts result          #20
>> 
>> 
>> result = true and x=20
>> puts result        #true
> 
> Precedence...
> 
> result = (true and x = 20)

Ah.  Thanks.

-- 
Posted via http://www.ruby-forum.com/.