Module: Listing

Included in:
NoSE::Backend::Backend, NoSE::Cost::Cost
Defined in:
lib/nose/util.rb

Overview

Allow tracking of subclasses for plugin purposes

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



297
298
299
300
# File 'lib/nose/util.rb', line 297

def self.included(base)
  base.extend ClassMethods
  base.class_variable_set :@@registry, {}
end