class Bio::NeXML::RootEdge
A rootedge is an edge without a source. It is used in context of coalescent trees. RootEdge
inherits from Edge
so the same functionality is available in rootedge too.
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 112 def initialize( id, options = {} ) super end
Public Instance Methods
to_xml()
click to toggle source
# File lib/bio/db/nexml/trees.rb, line 106 def to_xml @@writer.create_node( "rootedge", @@writer.attributes( self, :id, :target, :length, :label ) ) end