Class: Barby::Code128C
- Defined in:
- lib/barby/barcode/code_128.rb
Constant Summary
Constants inherited from Code128
Barby::Code128::CODEA, Barby::Code128::CODEB, Barby::Code128::CODEC, Barby::Code128::ENCODINGS, Barby::Code128::FNC1, Barby::Code128::FNC2, Barby::Code128::FNC3, Barby::Code128::FNC4, Barby::Code128::STOP, Barby::Code128::TERMINATE, Barby::Code128::VALUES
Instance Attribute Summary
Attributes inherited from Code128
Instance Method Summary collapse
-
#initialize(data) ⇒ Code128C
constructor
A new instance of Code128C.
Methods inherited from Code128
#change_code_encoding_for, #change_code_for, #change_code_for_class, #change_code_number_for, #characters, #checksum, #checksum_encoding, #class_for, #data, #data=, #data_encoding, #data_encoding_with_extra_encoding, #encoding, #encoding_for, #encodings, #extra, #extra=, #extra_encoding, #extra_numbers, #full_data, #full_data_with_change_codes, #full_extra_data, #full_extra_data_with_change_code, #numbers, #start_encoding, #start_num, #stop_encoding, #to_s, #valid?, #values
Methods inherited from Barcode
#encoding, #method_missing, #outputter_class_for, #outputter_for, outputters, register_outputter, #to_s, #two_dimensional?, #valid?
Constructor Details
#initialize(data) ⇒ Code128C
Returns a new instance of Code128C.
403 404 405 |
# File 'lib/barby/barcode/code_128.rb', line 403 def initialize(data) super(data, 'C') end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Barby::Barcode