Class: Barby::UPCA
- Defined in:
- lib/barby/barcode/ean_13.rb
Constant Summary
Constants inherited from EAN13
EAN13::CENTER, EAN13::FORMAT, EAN13::LEFT_ENCODINGS_EVEN, EAN13::LEFT_ENCODINGS_ODD, EAN13::LEFT_PARITY_MAPS, EAN13::RIGHT_ENCODINGS, EAN13::START, EAN13::STOP
Instance Method Summary collapse
Methods inherited from EAN13
#center_encoding, #characters, #checksum, #checksum_encoding, #data_with_checksum, #encoding, #initialize, #left_encoding, #left_encodings, #left_numbers, #left_parity_map, #numbers, #numbers_with_checksum, #odd_and_even_numbers, #right_encoding, #right_encodings, #right_numbers, #start_encoding, #stop_encoding, #to_s, #upc?, #valid?, #weighted_sum
Methods inherited from Barcode
#encoding, #method_missing, #outputter_class_for, #outputter_for, outputters, register_outputter, #to_s, #two_dimensional?, #valid?
Constructor Details
This class inherits a constructor from Barby::EAN13
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Barby::Barcode
Instance Method Details
#data ⇒ Object
180 181 182 |
# File 'lib/barby/barcode/ean_13.rb', line 180 def data '0' + super end |