title: Which language feature is behind this behavior?
body: <p>I don't understand what feature of the language is behind this code to work. Specifically, how are the values from [a,b,c].sort automatically populated into the variables ?</p>
  <pre class="lang-rb prettyprint-override"><code>def isTriangle(a,b,c)
     a, b, c = [a, b, c].sort
     a + b &gt; c
  end
  </code></pre>