Ternary operator and or to set default value


{i:||}


examples/conditionals/default.cr
name = nil

ternary_name = name ? name : "default"
puts ternary_name

or_name = name || "default"
puts or_name