From: 7stud -- Date: 2008-01-23T17:18:09+09:00 Subject: Re: singleton definition differences 7stud wrote: > In effect, you inserted a new class between class A and class Object. > The dot notation does the same thing. When you call a method with object a, ruby searches class A for the method. If ruby can't find the method in class A, ruby moves up the hierarchy and searches class A' (which contains the class methods) for the method. If the method can't be found in class A', then ruby searches Object for the method. -- Posted via http://www.ruby-forum.com/.