Class: Bio::NeXML::IntRootEdge
- Defined in:
- lib/bio/db/nexml/trees.rb
Instance Attribute Summary
Attributes inherited from Edge
Instance Method Summary collapse
-
#initialize(id, options = {}) ⇒ IntRootEdge
constructor
A new instance of IntRootEdge.
- #length ⇒ Object
Methods inherited from RootEdge
Methods inherited from Edge
Methods included from Mapper
Constructor Details
#initialize(id, options = {}) ⇒ IntRootEdge
Returns a new instance of IntRootEdge.
127 128 129 |
# File 'lib/bio/db/nexml/trees.rb', line 127 def initialize( id, = {} ) super end |
Instance Method Details
#length ⇒ Object
130 131 132 |
# File 'lib/bio/db/nexml/trees.rb', line 130 def length distance.to_i end |