Sha256: 749f298a2eca5b7dd333535fa76448c0af4af98bdd3b2f69d72ef9ed9250d39c
Contents?: true
Size: 246 Bytes
Versions: 11
Compression:
Stored size: 246 Bytes
Contents
class Valvat module Checksum class SI < Base def validate figures_str.to_i > 999999 && super end def check_digit chk = sum_of_figues_for_pt_si chk == 1 ? 0 : chk end end end end
Version data entries
11 entries across 11 versions & 1 rubygems