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