lib/lite/validators/isbn_validator.rb in lite-validators-1.0.0 vs lib/lite/validators/isbn_validator.rb in lite-validators-1.0.1
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
class IsbnValidator < BaseValidator
CHARACTERS ||= %w[
- 0 1 2 3 4 5 6 7 8 9 0 x
+ 0 1 2 3 4 5 6 7 8 9 x
].freeze
private
def valid_attr?