class Exception3
If c=6 or c=9 the double alternate check does not need to be carried out
Public Instance Methods
replace_weight(test_digits)
click to toggle source
# File lib/uk_account_validator/exceptions/exception_3.rb, line 3 def replace_weight(test_digits) c = test_digits[NUMBER_INDEX[:c]] return zero_all if c == 6 || c == 9 return modulus_weight end