Class: Barcode::FormatHandlers::External

Inherits:
BaseRegExBarcode show all
Defined in:
app/models/barcode/format_handlers.rb

Overview

External barcodes are almost always valid.

Instance Attribute Summary

Attributes inherited from BaseRegExBarcode

#human_barcode

Instance Method Summary collapse

Methods inherited from BaseRegExBarcode

#=~, #barcode_prefix, #code128_barcode, #code128_barcode?, #code39_barcode, #code39_barcode?, #initialize, #number, #suffix

Methods included from Ean13Incompatible

#ean13_barcode, #ean13_barcode?

Constructor Details

This class inherits a constructor from Barcode::FormatHandlers::BaseRegExBarcode

Instance Method Details

#valid?Boolean


170
171
172
# File 'app/models/barcode/format_handlers.rb', line 170

def valid?
  true
end