if else short rails code example Example: ruby shorthand if today == ChristmasEve ? (puts "Santa's On His Way!") : (puts "Snow")