Module: Chem::MSI::MSIObject

Included in:
MSIAtom, MSIBond, MSIFile, Model
Defined in:
lib/chem/db/msi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#childObject

Returns the value of attribute child.



14
15
16
# File 'lib/chem/db/msi.rb', line 14

def child
  @child
end

#parentObject

Returns the value of attribute parent.



14
15
16
# File 'lib/chem/db/msi.rb', line 14

def parent
  @parent
end

#propObject

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