From: ts Date: 2006-08-25T00:10:12+09:00 Subject: Re: Call functions of superclass >>>>> "N" == Nathan Smith writes: N> Therefore, in B#hi, self.class.superclass does not refer to the superclass N> of B -- rather it refers to the metaclass of the super of B. If it pointed no, not really. self.class.superclass make reference to the superclass of B N> to the superclass of B, then calling N> self.class.superclass.hi N> would print "hi", instead of "A.hi" no, if self.class.superclass == A then self.class.superclass.hi is the same than A.hi, and ruby will print "A.hi" Guy Decoux