class Bio::NeXML::FloatEdge

A float edge is an edge whose length is defined using a floating point number.

Public Class Methods

new( id, options = {} ) click to toggle source
Calls superclass method Bio::NeXML::Edge::new
# File lib/bio/db/nexml/trees.rb, line 138
def initialize( id, options = {} )
  super
end

Public Instance Methods

length() click to toggle source
# File lib/bio/db/nexml/trees.rb, line 141
def length
  distance.to_f
end