From: botp Date: 2009-12-31T12:36:56+09:00 Subject: Re: Why can't I use "or" here? On Thu, Dec 31, 2009 at 10:24 AM, Albert Schlef wrote: > Why? I thought the only diference between "or" and "||" is the > precedence. yes, so you can do eg >> system "pwd" or raise "no command here" /home/botp => true >> system "asdf" or raise "no command here" RuntimeError: no command here if you know perl, this is no surprise.. as always, there are many ways in ruby, you can use || or the double parens override. happy holiday and best regards -botp