Class: HexValidator
- Inherits:
-
BaseValidator
- Object
- ActiveModel::EachValidator
- BaseValidator
- HexValidator
- Defined in:
- lib/lite/validators/hex_validator.rb
Constant Summary collapse
- REGEXP =
/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/