Module: Supertype

Overview

Allow a supertype to look up a class given the name of a subtype inheriting from this class

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ void

This method returns an undefined value.

Add class methods when this module is included



84
85
86
# File 'lib/nose/util.rb', line 84

def self.included(base)
  base.extend ClassMethods
end