title: Possible to access the index in a Hash each loop?
body: <p>I'm probably missing something obvious, but is there a way to access the index/count of the iteration inside a hash each loop?</p>
  
  <pre><code>hash = {'three' =&gt; 'one', 'four' =&gt; 'two', 'one' =&gt; 'three'}
  hash.each { |key, value| 
      # any way to know which iteration this is
      #   (without having to create a count variable)?
  }
  </code></pre>