From: Simon Bailey Date: 2002-06-10T07:18:56+09:00 Subject: Ternary Operator Is there some sort of ternary operator in Ruby like the one in C++? eg. greaterThanFive = (x > 5) ? "yes" : "no";