From: Max Lapshin Date: 2006-10-18T04:21:52+09:00 Subject: Re: ruby way to say this? 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