From: Phillip Gawlowski Date: 2009-12-31T15:43:28+09:00 Subject: Re: Why can't I use "or" here? On 31.12.2009 06:32, Albert Schlef wrote: > It works. But, I must say, it isn't as beautiful as my original plan. It > doesn't read as English. PS C:\Scripts> ruby .\unless.rb ./unless.rb:1: Argument error (RuntimeError) PS C:\Scripts> ruby .\unless.rb "arg" PS C:\Scripts> cat .\unless.rb raise "Argument error" unless ARGV[0] PS C:\Scripts> I prefer it that way. :) Works in 1.8.6 and 1.9.1, too, to my great relief. -- Phillip Gawlowski