Why do I get the following output

-Case1
n = 4
s = (n == 3 or n == 5)
puts s
=> false
-End Case1

-Case2
n = 4
puts (n == 3 or n == 5)
=> if:2: parse error
puts (n == 3 or n == 5)
               ^
if:2: parse error
-End Case2

-Case3
n = 4
puts (n == 3 || n == 5)
=> false
-End Case3

Thanks

=========================================================
Jim Freeze
jim / freeze.org
---------------------------------------------------------
No comment at this time.
http://www.freeze.org
=========================================================