Class: Chem::KEGG::KCFRXN::RXNNode

Inherits:
Object
  • Object
show all
Defined in:
lib/chem/db/kcf.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nodeObject (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_nodeObject (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