Am I fundamentally misunderstanding Ruby here? I\'ve been writing Ruby code for about 2 years now and just today stumbled on this...
ruby-1.8.7-p249 > i =
Your line is parsed as
i = true and false (i = true) and false true and false
And of course because of i = true, i will be true afterwards.
i = true
i
true