Class: Bio::NeXML::IntRootEdge
Instance Attribute Summary
Attributes inherited from Edge
#id, #label, #source, #target
Instance Method Summary
collapse
Methods inherited from RootEdge
#to_xml
Methods inherited from Edge
#length=, #to_xml
Methods included from Mapper
#properties
Constructor Details
#initialize(id, options = {}) ⇒ IntRootEdge
127
128
129
|
# File 'lib/bio/db/nexml/trees.rb', line 127
def initialize( id, options = {} )
super
end
|
Instance Method Details
#length ⇒ Object
130
131
132
|
# File 'lib/bio/db/nexml/trees.rb', line 130
def length
distance.to_i
end
|