How is the conditional operator (? :) used in Ruby?
? :
For example, is this correct?
<% question = question.size > 20 ? question.question.slice(0, 20)+"..." : question.question %>
puts true ? "true" : "false" => "true" puts false ? "true" : "false" => "false"