module Game class Controller class << self def inherited(base) if self == Game::Controller else end end end end end