I wonder why ruby give and, or less precedence than &&, || , and assign operator? Is there any reason?
and
or
&&
||
I believe the idea is specifically to get them below the assignment operators, so you can write logic tests with assignments but without parens.