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