Module DescendantsTracker
In: lib/descendants_tracker.rb
lib/descendants_tracker/version.rb

encoding: utf-8

Methods

Constants

VERSION = '0.0.4'.freeze   Unreleased gem version

External Aliases

setup -> extended

Attributes

descendants  [R]  Return the descendants of this class

@example

  descendants = ParentClass.descendants

@return [Array<Class<DescendantsTracker>>]

@api public

Public Class methods

Setup the class for descendant tracking

@param [Class<DescendantsTracker>] descendant

@return [undefined]

@api private

Public Instance methods

Add the descendant to this class and the superclass

@param [Class] descendant

@return [self]

@api private

[Validate]