On Wednesday, September 10, 2003, 6:06:26 AM, John wrote: > X-No-archive: yes > I'm a new ruby user. I have the Ruby Way book. > My question is, in what case would you use > class TheClass > class << self > def foo > Couldn't you just say > class TheClass > def foo Take a look at http://www.rubygarden.org/ruby?ClassMethods Gavin