title: Object equality ruby
body: <pre><code>'hello'.class == String # =&gt; true
  'hello'.class === String # =&gt; false
  'hello'.class.equal? String # =&gt; true
  </code></pre>
  
  <p>As far as I know, the <code>equal?</code> method has the strictest comparison test. Can someone explain why <code>===</code> returns <code>false</code> while <code>equal?</code> returns <code>true</code> here?</p>