From: Drew Olson Date: 2006-10-12T00:54:11+09:00 Subject: Compact if statement for Codegolf 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 Thanks for the help! -- Posted via http://www.ruby-forum.com/.