On 16.05.01, Leonid Razoumov wrote: > Hans-Dieter Stich <hdstich / commplex-media.de> writes: > > hi! > > > > what is the difference between > > > > Class A > > class << self > > def method1 > > end > > end > > end > > > > and > > > > Class A > > def A.method1 > > end > > end > > > > ??? > > > > ciao > > h-d > > These two forms are equivalent and define the same singleton method A.method1. ok, i agree to you, but are their any advantages or disadvantages for using the one or other form? ciao h-d -- _____________________________________________________________________ Commplex Media AG Hans-Dieter Stich Office Ulm fon: +49-7304-434997 Development Team fax: +49-7304-434998 Spatzenweg 12 mail: hdstich / commplex-media.de 89160 Dornstadt web: http://www.commplex-media.de/ _____________________________________________________________________