Sha256: b2592a7be5e8ec0fad2ae1eb44a149481e7373fef79ca828318c65d9bc8f651a

Contents?: true

Size: 113 Bytes

Versions: 10

Compression:

Stored size: 113 Bytes

Contents

# frozen_string_literal: true

class SlugValidator < BaseValidator

  REGEXP ||= /^[A-Za-z0-9_-]+$/i.freeze

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lite-validators-1.1.1 lib/lite/validators/slug_validator.rb
lite-validators-1.1.0 lib/lite/validators/slug_validator.rb
lite-validators-1.0.7 lib/lite/validators/slug_validator.rb
lite-validators-1.0.6 lib/lite/validators/slug_validator.rb
lite-validators-1.0.5 lib/lite/validators/slug_validator.rb
lite-validators-1.0.4 lib/lite/validators/slug_validator.rb
lite-validators-1.0.3 lib/lite/validators/slug_validator.rb
lite-validators-1.0.2 lib/lite/validators/slug_validator.rb
lite-validators-1.0.1 lib/lite/validators/slug_validator.rb
lite-validators-1.0.0 lib/lite/validators/slug_validator.rb