class RBS::DefinitionBuilder::AncestorBuilder::OneAncestors

OneAncestors represents a list of direct ancestors of a type name

Direct ancestors is defined as follows:

The optional attributes are defined by the type of the ancestors object, one of the following five groups:

  1. Instance of a class – with super_class, included_modules, included_interfaces, and prepended_modules

  2. Instance of a module – with self_types, included_modules, included_interfaces, and prepended_modules

  3. Singleton of a class or module – with super_class, extended_modules, and extended_interfaces

  4. Interface – with included_interfaces