Class: Bio::NeXML::FloatRootEdge
- Defined in:
- lib/bio/db/nexml/trees.rb
Instance Attribute Summary
Attributes inherited from Edge
Instance Method Summary collapse
-
#initialize(id, options = {}) ⇒ FloatRootEdge
constructor
A new instance of FloatRootEdge.
- #length ⇒ Object
Methods inherited from RootEdge
Methods inherited from Edge
Methods included from Mapper
Constructor Details
#initialize(id, options = {}) ⇒ FloatRootEdge
Returns a new instance of FloatRootEdge.
118 119 120 |
# File 'lib/bio/db/nexml/trees.rb', line 118 def initialize( id, = {} ) super end |
Instance Method Details
#length ⇒ Object
121 122 123 |
# File 'lib/bio/db/nexml/trees.rb', line 121 def length distance.to_f end |