From: Michelle Pace Date: 2011-08-15T22:05:14+09:00 Subject: Ternary statement needing parenthesis..(?) Hello, just wondering why is it that I have to use the parenthesis in the below ternary statement? (A.) works fine but (B.) bombs out with a syntax error:- (1) 60 > 55 ? puts("when true") : puts("when false") (2) 60 > 55 ? puts "when true" : puts("when false") cheers Michelle -- Posted via http://www.ruby-forum.com/.