Class: Oddb2xml::GalenicGroup

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionsObject

Returns the value of attribute descriptions

Returns:

  • (Object)

    the current value of descriptions



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

def descriptions
  @descriptions
end

#oidObject

Returns the value of attribute oid

Returns:

  • (Object)

    the current value of oid



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

def oid
  @oid
end

Instance Method Details

#description(lang = "de") ⇒ Object



12
13
14
# File 'lib/oddb2xml/calc.rb', line 12

def description(lang = "de")
  descriptions[lang]
end