title: Shortcut to make case/switch return a value
body: <p>I'm pretty sure I saw someone do a shortcut technique like the code below (which doesn't work)</p>
  
  <pre><code>return case guess
    when guess &gt; @answer then :high
    when guess &lt; @answer then :low
    else :correct
  end
  </code></pre>
  
  <p>Does anyone know the trick I'm referring to?</p>