Class: Chem::MDL::RxnAtom
Constant Summary
Constants included from Atom
Instance Attribute Summary collapse
-
#product ⇒ Object
Returns the value of attribute product.
-
#reactant ⇒ Object
Returns the value of attribute reactant.
Attributes included from Atom
#charge, #color, #mass, #v_pos, #visible, #z
Instance Method Summary collapse
Methods included from Atom
#atomic_number, #electro_negativity, #natural_bond_order, #to_mdl, #to_sybyl, #weight
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
248 249 250 |
# File 'lib/chem/db/mdl.rb', line 248 def method_missing name, *args @representative.send(name, *args) end |
Instance Attribute Details
#product ⇒ Object
Returns the value of attribute product.
242 243 244 |
# File 'lib/chem/db/mdl.rb', line 242 def product @product end |
#reactant ⇒ Object
Returns the value of attribute reactant.
242 243 244 |
# File 'lib/chem/db/mdl.rb', line 242 def reactant @reactant end |
Instance Method Details
#element ⇒ Object
260 |
# File 'lib/chem/db/mdl.rb', line 260 def element ; @representative.element ; end |
#x ⇒ Object
258 |
# File 'lib/chem/db/mdl.rb', line 258 def x ; @representative.x ; end |
#y ⇒ Object
259 |
# File 'lib/chem/db/mdl.rb', line 259 def y ; @representative.y ; end |