From: Yaxm Yaxm Date: 2007-04-28T17:51:25+09:00 Subject: ruby conditional operator ? : Hi, in java, I can use ? : shorthand operators to ensure s is assigned to some value. String s = s == null ? "" : s; Is there similar shorthand operator in Ruby? Thanks. Yaxm -- Posted via http://www.ruby-forum.com/.