From: Philip Mak Date: 2002-07-08T17:36:20+09:00 Subject: Shorthand for def class methods? Instead of this: class SomeLongClassName def SomeLongClassName.method1 ... end def SomeLongClassName.method2 ... end end is there some sort of shorthand like this: class SomeLongClassName def @method1 ... end def @method2 ... end end I find that sometimes I make some classes whose methods are *all* class methods (like in procedural programming), so it would be a minor convenience if I didn't have to repeat the class name each time.