Class Barby::EAN8
In: lib/barby/barcode/ean_8.rb
Parent: EAN13

EAN-8 is a sub-set of EAN-13, with only 7 (8) digits

Methods

Constants

FORMAT = /^\d{7}$/

Public Instance methods

Left-hand digits are all encoded using odd parity

[Validate]