class MacAddressValidator
Constants
- REGEXP
Private Instance Methods
valid_regexp?()
click to toggle source
# File lib/lite/validators/mac_address_validator.rb, line 14 def valid_regexp? REGEXP.any? { |regexp| value.to_s =~ regexp } end