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