class Bio::NeXML::IntEdge

An int edge is an edge whose length is defined using an integer

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 148
def initialize( id, options = {} )
  super
end

Public Instance Methods

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