module Esquema::KeywordValidator

def self.validate_const(property_name, type, const)

Parameters:
  • const (Object) -- The constant value for the property.
  • type (Symbol) -- The type of the property.
  • property_name (Symbol) -- The name of the property being validated.
def self.validate_const(property_name, type, const)
  validate_value!(property_name, type, const, "const")
end