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