Class: Cliqr::Config::Validation::ValidatorFactory::NOOPValidator Private

Inherits:
Validator
  • Object
show all
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.

This is used in case a unknown validation is used

Instance Method Summary collapse

Methods inherited from Validator

#validate

Constructor Details

#initialize(type) ⇒ NOOPValidator

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 no-op validator



58
59
60
# File 'lib/cliqr/config/validation/validator_factory.rb', line 58

def initialize(type)
  @type = type
end