Ruby is_a? vs === <p>What is de difference between <code>is_a?</code> and <code>===</code>?</p> <p>Running this Code:</p> <pre><code>puts myObj.class puts myObj.is_a?(Hash) puts myObj === Hash #Curious puts Hash === myObj </code></pre> <p>The Outputis:</p> <pre><code>Hash true false #Why? true </code></pre>