From: Robert Feldt Date: 2001-10-30T08:18:19+09:00 Subject: [ruby-talk:23775] Re: why is true and false = true ? On Tue, 30 Oct 2001, Phil Tomson wrote: > Bizarre, here's the code: > > tf = true && false > puts "true && false = #{tf}" > tf = true and false > puts "true and false = #{tf}" > = binds tighter than and so this is (tf = true) and false puts "true and false = #{tf}" try tf = (true and false) puts "#{tf}" /Robert