Class: Bio::KEGG::KGML::Relation
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#node1 ⇒ Object
Returns the value of attribute node1.
-
#node2 ⇒ Object
Returns the value of attribute node2.
-
#rel ⇒ Object
Returns the value of attribute rel.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
135 136 137 |
# File 'lib/bio/db/kegg/kgml.rb', line 135 def name @name end |
#node1 ⇒ Object
Returns the value of attribute node1.
134 135 136 |
# File 'lib/bio/db/kegg/kgml.rb', line 134 def node1 @node1 end |
#node2 ⇒ Object
Returns the value of attribute node2.
134 135 136 |
# File 'lib/bio/db/kegg/kgml.rb', line 134 def node2 @node2 end |
#rel ⇒ Object
Returns the value of attribute rel.
134 135 136 |
# File 'lib/bio/db/kegg/kgml.rb', line 134 def rel @rel end |
#value ⇒ Object
Returns the value of attribute value.
135 136 137 |
# File 'lib/bio/db/kegg/kgml.rb', line 135 def value @value end |
Instance Method Details
#edge ⇒ Object
136 137 138 |
# File 'lib/bio/db/kegg/kgml.rb', line 136 def edge @value.to_i end |