Thanks for your reply. But I still don't understand it very well. Object is type of Class, right? (Object.class -> Class) Class has a method - nesting. Then Object should have it because it's type of Class. Maybe something in my logic is wrong. Could you point me to it? kong "Kent Sibilev" <ksibilev / bellsouth.net> wrote in message news:E49B7180-C3C0-11D8-8F8A-000A95C700E8 / bellsouth.net... > You should care about superclass, not class: > > $ irb > irb(main):001:0> Object.superclass > => nil > irb(main):002:0> Class.superclass > => Module > irb(main):003:0> > > Cheers, > Kent. > > On Jun 21, 2004, at 4:08 PM, Sam Sungshik Kong wrote: > > > Hello! > > > > I found a strange thing. > > > > Object.class > > =>Class > > Class.class > > =>Class > > > > As you see, Object and Class are of same type. > > > > Object.methods.length > > =>73 > > Class.methods.length > > =>74 > > Class.methods - Object.methods > > =>["nesting"] > > > > I expected that Object has same methods as Class but it's not. > > Can somebody explain and teach me please? > > > > Thanks in advance. > > > > kong > > > > > > > > >