From: MikkelFJ Date: 2002-08-17T00:57:02+09:00 Subject: Re: Thought question: Where does "new" come from? "Christoph" wrote in message news:ajj3ro$c72$00$1@news.t-online.com... > What about anonymous classes ? They sort of > make your argument mood IMHO. Ruby is very dynamically type so you can only stretch the analogy so far. > class << anon > def my_name > puts @my_name > end > end What you do in the above is to access the Singleton class of the instantiated object, which is different. > > anon.new.inst_meth # an_inst > anon.my_name # anon > A.const # anon's_const This is the static class, but it is just the same as before. After all you did earlier declare > class A; end The need to do this actually stresses the point that it has a static nature. Mikkel