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 of this substrate or product (Integer or nil)
name of this substrate or product (String or nil)
Public Class Methods
Source
# File lib/bio/db/kegg/kgml.rb 516 def initialize(id = nil, name = nil) 517 @id ||= id 518 @name ||= name 519 end
Creates a new object