Operador condicional en Ruby

#condition ? true : false
apple_stock > 1 ? :eat_apple : :buy_apple
<div class="open_grepper_editor" title="Edit & Save To Grepper"></div>
Mooventhan