Class: Oddb2xml::Composition

Inherits:
Struct
  • Object
show all
Defined in:
lib/oddb2xml/calc.rb

Overview

Calc is responsible for analysing the columns "Packungsgrösse" and "Einheit"

Instance Attribute Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label



9
10
11
# File 'lib/oddb2xml/calc.rb', line 9

def label
  @label
end

#nameObject

Returns the value of attribute name



9
10
11
# File 'lib/oddb2xml/calc.rb', line 9

def name
  @name
end

#qtyObject

Returns the value of attribute qty



9
10
11
# File 'lib/oddb2xml/calc.rb', line 9

def qty
  @qty
end

#unitObject

Returns the value of attribute unit



9
10
11
# File 'lib/oddb2xml/calc.rb', line 9

def unit
  @unit
end