Class: StackMaster::SparkleFormation::CompileTime::AllowedPatternValidator

Inherits:
ValueValidator
  • Object
show all
Defined in:
lib/stack_master/sparkle_formation/compile_time/allowed_pattern_validator.rb

Constant Summary collapse

KEY =
:allowed_pattern

Instance Attribute Summary

Attributes inherited from ValueValidator

#error, #is_valid

Instance Method Summary collapse

Methods inherited from ValueValidator

#validate

Constructor Details

#initialize(name, definition, parameter) ⇒ AllowedPatternValidator

Returns a new instance of AllowedPatternValidator.



10
11
12
13
14
# File 'lib/stack_master/sparkle_formation/compile_time/allowed_pattern_validator.rb', line 10

def initialize(name, definition, parameter)
  @name = name
  @definition = definition
  @parameter = parameter
end