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, #child, #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

Returns:

  • (Boolean)


190
191
192
# File 'app/models/barcode/format_handlers.rb', line 190

def valid?
  true
end