lib/lite/validators/name_validator.rb in lite-validators-1.1.1 vs lib/lite/validators/name_validator.rb in lite-validators-1.1.2
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
class NameValidator < BaseValidator
- REGEXP ||= /^([A-Za-z'"-]+\s+){1,4}[A-Za-z'"-]*\z/.freeze
+ REGEXP = /^([A-Za-z'"-]+\s+){1,4}[A-Za-z'"-]*\z/.freeze
end