Class: StackMaster::SparkleFormation::CompileTime::MinLengthValidator
- Inherits:
-
ValueValidator
- Object
- ValueValidator
- StackMaster::SparkleFormation::CompileTime::MinLengthValidator
- Defined in:
- lib/stack_master/sparkle_formation/compile_time/min_length_validator.rb
Constant Summary collapse
- KEY =
:min_length
Instance Attribute Summary
Attributes inherited from ValueValidator
Instance Method Summary collapse
-
#initialize(name, definition, parameter) ⇒ MinLengthValidator
constructor
A new instance of MinLengthValidator.
Methods inherited from ValueValidator
Constructor Details
#initialize(name, definition, parameter) ⇒ MinLengthValidator
Returns a new instance of MinLengthValidator.
10 11 12 13 14 |
# File 'lib/stack_master/sparkle_formation/compile_time/min_length_validator.rb', line 10 def initialize(name, definition, parameter) @name = name @definition = definition @parameter = parameter end |