Class: Cliqr::Config::Validation::ValidatorFactory::NonEmptyNilOkFormatValidator Private
- Inherits:
-
Validator
- Object
- Validator
- Cliqr::Config::Validation::ValidatorFactory::NonEmptyNilOkFormatValidator
- 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 a value matches a pattern and it is not empty; nil value allowed
Instance Method Summary collapse
-
#initialize(format) ⇒ NonEmptyNilOkFormatValidator
constructor
private
Initialize a new non-empty-nil-ok format validator.
Methods inherited from Validator
Constructor Details
#initialize(format) ⇒ NonEmptyNilOkFormatValidator
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.
Initialize a new non-empty-nil-ok format validator
164 165 166 |
# File 'lib/cliqr/config/validation/validator_factory.rb', line 164 def initialize(format) @format = format end |