title: undefined method `has_key'?
body: <p>When trying to deal with a nested hash in ruby, I'm getting this error:</p>
  
  <pre><code>undefined method `has_key' for {"_l"=&gt;{"or"=&gt;"@`"}, "a"=&gt;{}}:Hash (NoMethodError)
  </code></pre>
  
  <p>isn't the thing referenced by 'for' above... a hash?  don't hashes have the has_key?() method?  what's going on here?</p>
  
  <p>Here's the code... thanks:</p>
  
  <pre><code>$conditioning_environments = {
    "_l" =&gt;
     {
      "or" =&gt; "@`"
     },
       "a" =&gt; {
  
     }
  }
  ....
  if $conditioning_environments["_"+graphemes[index+1]].has_key(g)
      ....
  </code></pre>