From: Albert Schlef Date: 2009-12-31T19:38:33+09:00 Subject: Re: Why can't I use "or" here? Marnen Laibow-Koser wrote: > Albert Schlef wrote: >> Albert Schlef wrote: >> >> Hey, I now see that this works: >> >> some_func((ARGV[0] or raise "You must provide an argument")) >> >> Great. On the other hand, I won't be able to remember this the next time >> I need it. > > Just use Ruby's rescue syntax instead of trying to be clever. What do you mean? -- Posted via http://www.ruby-forum.com/.