Class: HexValidator

Inherits:
BaseValidator show all
Defined in:
lib/lite/validators/hex_validator.rb

Constant Summary collapse

REGEXP =
/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/

Method Summary

Methods inherited from BaseValidator

#validate_each