Class: Bio::NeXML::FloatRootEdge
Instance Attribute Summary
Attributes inherited from Edge
Instance Method Summary (collapse)
-
- (FloatRootEdge) initialize(id, options = {})
constructor
A new instance of FloatRootEdge.
- - (Object) length
Methods inherited from RootEdge
Methods inherited from Edge
Methods included from Mapper
Constructor Details
- (FloatRootEdge) initialize(id, options = {})
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
- (Object) length
121 122 123 |
# File 'lib/bio/db/nexml/trees.rb', line 121 def length distance.to_f end |