On 10/10/06, joevandyk / gmail.com <joevandyk / gmail.com> wrote: > What's the difference between > > class Foo > class << self > def foo; end > end > end > > and > > class Foo > def self.foo; end > end > > Joe > As far as my understanding goes there is none. The rubies will probably use the first one when they are defining more than one class methods and this would save typing 5 * (methods - 1) chars :-). ./alex -- .w( the_mindstorm )p.