title: RUBY- one line statement mistake
body: <p>when I try to write this one line if else, an error comes up. How should I fix it?</p>
  <pre class="lang-rb prettyprint-override"><code>def odd_or_even(number)
    number % 2 == 0 ? return &quot;even&quot; : return &quot;odd&quot;
  end
  
  odd_or_even(3)
  </code></pre>