Class: ParseUtil::ParseSubstance
- Inherits:
-
Struct
- Object
- Struct
- ParseUtil::ParseSubstance
- Defined in:
- lib/oddb2xml/parse_compositions.rb
Instance Attribute Summary collapse
-
#chemical_dose ⇒ Object
Returns the value of attribute chemical_dose.
-
#chemical_substance ⇒ Object
Returns the value of attribute chemical_substance.
-
#name ⇒ Object
Returns the value of attribute name.
-
#qty ⇒ Object
Returns the value of attribute qty.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Attribute Details
#chemical_dose ⇒ Object
Returns the value of attribute chemical_dose
12 13 14 |
# File 'lib/oddb2xml/parse_compositions.rb', line 12 def chemical_dose @chemical_dose end |
#chemical_substance ⇒ Object
Returns the value of attribute chemical_substance
12 13 14 |
# File 'lib/oddb2xml/parse_compositions.rb', line 12 def chemical_substance @chemical_substance end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/oddb2xml/parse_compositions.rb', line 12 def name @name end |
#qty ⇒ Object
Returns the value of attribute qty
12 13 14 |
# File 'lib/oddb2xml/parse_compositions.rb', line 12 def qty @qty end |
#unit ⇒ Object
Returns the value of attribute unit
12 13 14 |
# File 'lib/oddb2xml/parse_compositions.rb', line 12 def unit @unit end |