From: James Edward Gray II Date: 2006-10-18T04:26:12+09:00 Subject: Re: ruby way to say this? On Oct 17, 2006, at 2:21 PM, Max Lapshin wrote: > > On Oct 17, 2006, at 11:15 PM, matt neuburg wrote: > >> In Ruby, zero isn't false and there is no equivalent of the ?: >> operator >> with the middle term omitted. So e.g. I'd like to say [pseudo-code >> from >> some other language]: >> >> oneThing()?:otherThing() > > oneThing || otherThing You didn't read that question all the way through. ;) James Edward Gray II