class Tryouts
def self.inherited(klass)
to +@@instances+.
of Tryouts, sets group to the name of the new class, and adds the instance
Called when a new class inherits from Tryouts. This creates a new instance
def self.inherited(klass) to = @@instances[ klass ] to ||= Tryouts.new to.paths << __FILE__ to.group = klass @@instances[to.group] = to end