Class: Cliqr::Config::Validation::ValidatorFactory::TypeHierarchyValidator Private
- Inherits:
-
NonNilValidator
- Object
- Validator
- NonNilValidator
- Cliqr::Config::Validation::ValidatorFactory::TypeHierarchyValidator
- Defined in:
- lib/cliqr/config/validation/validator_factory.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Validates that the value of an attribute is of a type that extends from another
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(super_type) ⇒ TypeHierarchyValidator
constructor
private
Create a new instance of type hierarchy validator.
Methods inherited from Validator
Constructor Details
#initialize(super_type) ⇒ TypeHierarchyValidator
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create a new instance of type hierarchy validator
191 192 193 194 |
# File 'lib/cliqr/config/validation/validator_factory.rb', line 191 def initialize(super_type) super(true) @super_type = super_type end |