Class: ParseUtil::ParseSubstance

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

Instance Attribute Summary collapse

Instance Attribute Details

#chemical_doseObject

Returns the value of attribute chemical_dose

Returns:

  • (Object)

    the current value of chemical_dose



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

def chemical_dose
  @chemical_dose
end

#chemical_substanceObject

Returns the value of attribute chemical_substance

Returns:

  • (Object)

    the current value of chemical_substance



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

def chemical_substance
  @chemical_substance
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#qtyObject

Returns the value of attribute qty

Returns:

  • (Object)

    the current value of qty



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

def qty
  @qty
end

#unitObject

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



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

def unit
  @unit
end