Class: Zint::DataMatrix

Inherits:
Barcode show all
Defined in:
lib/zint/data_matrix.rb

Instance Attribute Summary

Attributes inherited from Barcode

#bctype, #path, #value, #zint_symbol

Instance Method Summary collapse

Methods inherited from Barcode

#buffer!, #encode!, #print!

Constructor Details

#initialize(value) ⇒ DataMatrix

Returns a new instance of DataMatrix.



3
4
5
6
# File 'lib/zint/data_matrix.rb', line 3

def initialize(value)
  super(value, Zint::BARCODE_DATAMATRIX)
  @zint_symbol[:option_2] = Zint::DM_SQUARE
end