Class: Bio::KEGG::KGML::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/db/kegg/kgml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bgcolor ⇒ Object

Returns the value of attribute bgcolor.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def bgcolor
  @bgcolor
end

#category ⇒ Object

Returns the value of attribute category.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def category
  @category
end

#components ⇒ Object

Returns the value of attribute components.



127
128
129
# File 'lib/bio/db/kegg/kgml.rb', line 127

def components
  @components
end

#entry_id ⇒ Object

Returns the value of attribute entry_id.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def entry_id
  @entry_id
end

#fgcolor ⇒ Object

Returns the value of attribute fgcolor.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def fgcolor
  @fgcolor
end

#height ⇒ Object

Returns the value of attribute height.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def height
  @height
end

#label ⇒ Object

Returns the value of attribute label.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def label
  @label
end

Returns the value of attribute link.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def link
  @link
end

#name ⇒ Object

Returns the value of attribute name.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def name
  @name
end

#pathway ⇒ Object

Returns the value of attribute pathway.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def pathway
  @pathway
end

#reaction ⇒ Object

Returns the value of attribute reaction.



125
126
127
# File 'lib/bio/db/kegg/kgml.rb', line 125

def reaction
  @reaction
end

#shape ⇒ Object

Returns the value of attribute shape.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def shape
  @shape
end

#width ⇒ Object

Returns the value of attribute width.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def width
  @width
end

#x ⇒ Object

Returns the value of attribute x.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def x
  @x
end

#y ⇒ Object

Returns the value of attribute y.



126
127
128
# File 'lib/bio/db/kegg/kgml.rb', line 126

def y
  @y
end

Instance Method Details

#names ⇒ Object



128
129
130
# File 'lib/bio/db/kegg/kgml.rb', line 128

def names
  @name.split(/\s+/)
end