class AlphaNumericValidator

Private Instance Methods

regexp() click to toggle source
# File lib/lite/validators/alpha_numeric_validator.rb, line 7
def regexp
  /^[#{CASES[kase]}0-9#{' ' if options[:allow_space]}]+$/
end