title: Ruby unpack array to block
body: <pre><code>settings = [ ['127.0.0.1', 80], ['0.0.0.0', 443] ]
  </code></pre>
  
  <p>How can I do:</p>
  
  <pre><code>settings.each do |ip, port|  
      ...
  end
  </code></pre>
  
  <p>Instead of:</p>
  
  <pre><code>settings.each do |config|  
      ip, port = *config
      ...
  end
  </code></pre>