Sha256: 3455a7e6d9a165b186d90367a94afe501faa201d5e6ba8e9ee96921215c6a91a

Contents?: true

Size: 164 Bytes

Versions: 16

Compression:

Stored size: 164 Bytes

Contents

class Valvat
  module Checksum
    class PT < Base
      def check_digit
        chk = sum_of_figues_for_pt_si
        chk > 9 ? 0 : chk
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
valvat-1.0.1 lib/valvat/checksum/pt.rb
valvat-1.0.0 lib/valvat/checksum/pt.rb
valvat-0.9.1 lib/valvat/checksum/pt.rb
valvat-0.9.0 lib/valvat/checksum/pt.rb
valvat-0.8.2 lib/valvat/checksum/pt.rb
valvat-0.8.1 lib/valvat/checksum/pt.rb
valvat-0.8.0 lib/valvat/checksum/pt.rb
valvat-0.7.4 lib/valvat/checksum/pt.rb
valvat-0.7.3 lib/valvat/checksum/pt.rb
valvat-0.7.2 lib/valvat/checksum/pt.rb
valvat-0.7.1 lib/valvat/checksum/pt.rb
valvat-0.7.0 lib/valvat/checksum/pt.rb
valvat-0.6.11 lib/valvat/checksum/pt.rb
valvat-0.6.10 lib/valvat/checksum/pt.rb
valvat-0.6.9 lib/valvat/checksum/pt.rb
valvat-0.6.8 lib/valvat/checksum/pt.rb