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

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



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

def name
  @name
end

#qty ⇒ Object

Returns the value of attribute qty

Returns:

  • (Object) —

    the current value of qty



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

def qty
  @qty
end

#unit ⇒ Object

Returns the value of attribute unit

Returns:

  • (Object) —

    the current value of unit



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

def unit
  @unit
end