From: Dave Bass Date: 2008-07-09T20:48:08+09:00 Subject: Re: class methods Robert Dober wrote: > You did not define a class method To expand, what Robert means is that you defined an instance method. To make it a class method in class C, you should C.m or self.m, not m (which would be an instance method). Personally I prefer self.m, as I can subsequently change the name of the class if necessary without having to change all the class method names too. Laziness can be a virtue. ;-) Dave -- Posted via http://www.ruby-forum.com/.