Module: RVGP::Application::DescendantRegistry
- Included in:
- Base::Command, Base::Grid, Base::JournalValidation, Base::SystemValidation
- Defined in:
- lib/rvgp/application/descendant_registry.rb
Overview
This module contains a system by which RVGP maintains an application registry, of child classes, for a given parent class. These registries are stored in the RVGP namespace, under a provided name (usually something resembling the superclass name), and facilitates an easy form of child class enumeration, throughout the RVGP system.
Thus far, the parent classes which are using this functionality, are: Base::Command, Base::Grid, Base::JournalValidation, and Base::SystemValidation.
This means that, for example, a class which inherits from Base::Command, is added to the array of its siblings in RVGP.commands. Similarly, there are containers for RVGP.grids, RVGP.journal_validations, and RVGP.system_validations.
Defined Under Namespace
Modules: ClassMethods Classes: ClassRegistry