use puts in terinary expression ruby code example Example: ruby ternary operator condition ? true : false