Class: Cliqr::Config::Validation::ValidatorFactory::NonEmptyValidator Private
- Inherits:
-
NonNilValidator
- Object
- Validator
- NonNilValidator
- Cliqr::Config::Validation::ValidatorFactory::NonEmptyValidator
- 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.
Verifies that an attribute’s value is non-empty
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(enabled) ⇒ NonEmptyValidator
constructor
private
Create a new non-empty validator.
Methods inherited from Validator
Constructor Details
#initialize(enabled) ⇒ NonEmptyValidator
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 non-empty validator
93 94 95 96 |
# File 'lib/cliqr/config/validation/validator_factory.rb', line 93 def initialize(enabled) super(enabled) @enabled = enabled end |