how to use a turnary operator with checking existance ruby code example Example: ruby ternary operator condition ? true : false