Class: Barcode::FormatHandlers::CgapPlate
- Inherits:
-
BaseRegExBarcode
- Object
- BaseRegExBarcode
- Barcode::FormatHandlers::CgapPlate
- Defined in:
- app/models/barcode/format_handlers.rb
Overview
CGAP plate barcodes are generated by the CGAP LIMS
Instance Attribute Summary
Attributes inherited from BaseRegExBarcode
Instance Method Summary collapse
Methods inherited from BaseRegExBarcode
#=~, #barcode_prefix, #child, #code128_barcode, #code128_barcode?, #code39_barcode, #code39_barcode?, #initialize, #suffix, #valid?
Methods included from Ean13Incompatible
#ean13_barcode, #ean13_barcode?
Constructor Details
This class inherits a constructor from Barcode::FormatHandlers::BaseRegExBarcode
Instance Method Details
#number ⇒ Object
213 214 215 216 |
# File 'app/models/barcode/format_handlers.rb', line 213 def number # number is a hexadecimal string here @matches[:number] if @matches&.names&.include?('number') end |