Class: Chem::MSI::MSIAtom

Inherits:
Atom
  • Object
show all
Includes:
MSIObject
Defined in:
lib/chem/db/msi.rb

Constant Summary

Constants included from Atom

Atom::MDLAtomLineFormat

Instance Attribute Summary

Attributes included from MSIObject

#child, #parent, #prop

Attributes included from Atom

#cdk_atom, #charge, #color, #element, #label, #mass, #ob_atom, #rings, #v_pos, #visible, #x, #y, #z

Instance Method Summary collapse

Methods included from MSIObject

#initialize

Methods included from Atom

#atomic_number, #electro_negativity, #method_missing, #natural_bond_order, #to_mdl, #to_sybyl, #weight

Methods included from Transform::ThreeDimension

#z, #z=

Methods included from Transform::TwoDimension

#pos, #x, #x=, #y, #y=

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chem::Atom

Instance Method Details

#bObject



40
41
42
# File 'lib/chem/db/msi.rb', line 40

def b
  @prop['Atom1']
end

#eObject



44
45
46
# File 'lib/chem/db/msi.rb', line 44

def e
  @prop['Atom2']
end