class Bio::KEGG::KGML::SubstrateProduct
Bio::KEGG::KGML::SubstrateProduct contains a substrate element or a product element in the KGML.
Please do not use SubstrateProduct directly. Instead, please use Substrate or Product class.
Attributes
id[RW]
ID of this substrate or product (Integer or nil)
name[RW]
name of this substrate or product (String or nil)
Public Class Methods
new(id = nil, name = nil)
click to toggle source
Creates a new object
# File lib/bio/db/kegg/kgml.rb, line 516 def initialize(id = nil, name = nil) @id ||= id @name ||= name end