From: petermichaux@... Date: 2005-11-05T16:32:09+09:00 Subject: what does "class << self" do? Hi, I'm looking at the rails activerecord base.rb file it's main structure is shown below. Why have a class inside a class like this? What advantages are there? Thanks, Peter class Base # methods ... class << self # Class methods # methods ... end # methods ... end