title: Determine if hash contains any key from a set of keys?
body: <p>Do you know a pretty ruby way to find if an hash has one of some keys ? </p>
  
  <pre><code>h = {:a =&gt; 1, :c =&gt; 3, :d =&gt; 4}
  # keys to find are :a, :b or :e
  </code></pre>
  
  <p>I know that I can do a :</p>
  
  <pre><code>h.key?(:a) || h.key?(:b) || h.key?(:e)
  </code></pre>
  
  <p>But I was wondering if there was a prettier way to do it ! :)</p>
  
  <p>Thanks a lot !</p>