From: "Jesús Gabriel y Galán" Date: 2010-05-16T05:55:20+09:00 Subject: Re: Hash method in ruby On Sat, May 15, 2010 at 5:55 PM, Tarun Yadav wrote: > Thanks Jean, > > Can you please confirm the difference between these: > > A.class.hash  #calls the hash method from Class class > > A.new.hash  #calls the hash method from A(if overridden otherwise method > from Object) No. This calls the hash object on *an instance* of A. > A.hash #? not able to understand what hash method is called. What kind > of object is A? It is the class A. This is different that the object instances of A Jesus.