Class: Cliqr::Config::Validation::ValidatorFactory::CollectionValidator Private
- Inherits:
-
TypeHierarchyValidator
- Object
- Validator
- NonNilValidator
- TypeHierarchyValidator
- Cliqr::Config::Validation::ValidatorFactory::CollectionValidator
- 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 each element inside a collection
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(_config, type = nil) ⇒ CollectionValidator
constructor
private
Create a new collection validator.
Methods inherited from Validator
Constructor Details
#initialize(_config, type = nil) ⇒ CollectionValidator
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 collection validator
216 217 218 |
# File 'lib/cliqr/config/validation/validator_factory.rb', line 216 def initialize(_config, type = nil) super(type || Array) end |