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



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

def descriptions
  @descriptions
end

#oidObject

Returns the value of attribute oid

Returns:

  • (Object)

    the current value of oid



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

def oid
  @oid
end

Instance Method Details

#description(lang = 'de') ⇒ Object



14
15
16
# File 'lib/oddb2xml/calc.rb', line 14

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