From: Albert Schlef Date: 2009-12-31T11:24:26+09:00 Subject: Why can't I use "or" here? (The problem is in both Ruby 1.8 and Ruby 1.9) The expression: puts(nil || 4) works as expected. It prints '4'. But this expression: puts(nil or 4) fails... it is a syntax error, for some mysterious reason. Why? I thought the only diference between "or" and "||" is the precedence. -- Posted via http://www.ruby-forum.com/.