Class: PAbarcode::Barcode
- Inherits:
-
Object
- Object
- PAbarcode::Barcode
- Defined in:
- lib/pabarcode.rb
Instance Attribute Summary collapse
-
#barcode ⇒ Object
readonly
Returns the value of attribute barcode.
Instance Method Summary collapse
- #get_ean_13 ⇒ Object
-
#initialize(barcode) ⇒ Barcode
constructor
A new instance of Barcode.
Constructor Details
#initialize(barcode) ⇒ Barcode
Returns a new instance of Barcode.
5 6 7 |
# File 'lib/pabarcode.rb', line 5 def initialize() = end |
Instance Attribute Details
#barcode ⇒ Object (readonly)
Returns the value of attribute barcode.
3 4 5 |
# File 'lib/pabarcode.rb', line 3 def end |
Instance Method Details
#get_ean_13 ⇒ Object
9 10 11 |
# File 'lib/pabarcode.rb', line 9 def get_ean_13 add_check_digit() end |