Module: Chem::MSI::MSIObject
Instance Attribute Summary collapse
-
#child ⇒ Object
Returns the value of attribute child.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#prop ⇒ Object
Returns the value of attribute prop.
Instance Method Summary collapse
Instance Attribute Details
#child ⇒ Object
Returns the value of attribute child.
14 15 16 |
# File 'lib/chem/db/msi.rb', line 14 def child @child end |
#parent ⇒ Object
Returns the value of attribute parent.
14 15 16 |
# File 'lib/chem/db/msi.rb', line 14 def parent @parent end |
#prop ⇒ Object
Returns the value of attribute prop.
14 15 16 |
# File 'lib/chem/db/msi.rb', line 14 def prop @prop end |
Instance Method Details
#initialize(n = 0) ⇒ Object
16 17 18 19 |
# File 'lib/chem/db/msi.rb', line 16 def initialize n = 0 @prop = {} @n = n end |