Thanks for all guys, it works thanks to you! ---------------- kurk "Kurk Lord" <kurk_lord / nospam.fr.yahoo> a ñÄrit dans le message de news:40f9a351$0$1906$636a15ce / news.free.fr... > Hi all, > > can somebody tell me if a class method can call (or use) a instance method ? > Example : > > class Foo > @@count = 0 > > def bar > @@count = @@count + 1 > end > > def Foo.suck > bar > end > end > > By > > ----------- > Kurk