Class: Chem::KEGG::KCFRXN::RXNNode
- Inherits:
-
Object
- Object
- Chem::KEGG::KCFRXN::RXNNode
- Defined in:
- lib/chem/db/kcf.rb
Instance Attribute Summary collapse
-
#product_node ⇒ Object
readonly
Returns the value of attribute product_node.
-
#reactant_node ⇒ Object
readonly
Returns the value of attribute reactant_node.
Instance Method Summary collapse
-
#initialize(reactant, product) ⇒ RXNNode
constructor
A new instance of RXNNode.
Constructor Details
#initialize(reactant, product) ⇒ RXNNode
Returns a new instance of RXNNode.
208 209 210 211 |
# File 'lib/chem/db/kcf.rb', line 208 def initialize reactant, product @reactant_node = reactant @product_node = product end |
Instance Attribute Details
#product_node ⇒ Object (readonly)
Returns the value of attribute product_node.
207 208 209 |
# File 'lib/chem/db/kcf.rb', line 207 def product_node @product_node end |
#reactant_node ⇒ Object (readonly)
Returns the value of attribute reactant_node.
207 208 209 |
# File 'lib/chem/db/kcf.rb', line 207 def reactant_node @reactant_node end |