From: James Edward Gray II Date: 2006-10-12T00:59:18+09:00 Subject: Re: Compact if statement for Codegolf On Oct 11, 2006, at 10:54 AM, Drew Olson wrote: > I'm working on my codegolfing skills and was wondering, what is the > shortest possible way to write the following in ruby: > > if a==0 > 1 > else > 2 > end a==0?1:2 James Edward Gray II