From: "Jan E." Date: 2012-03-15T00:50:29+09:00 Subject: Re: Why doesn't "puts(4 or 5)" work? The difference is that "or" is a keyword rather than an operator. It seems the Ruby parser doesn't allow it in some contexts. For example, you cannot write [4 or 5] {:x => 4 or 5} But "puts (4 or 5)" works as expected. Anyway, I think the logical keywords aren't actually meant to be used outside of boolean expressions. If we want to do tricks, we're probably supposed to use the operators. That's why there's an "||=" operator but no "or=". ;-) -- Posted via http://www.ruby-forum.com/.