Class: Bio::NeXML::Continuous

Inherits:
Characters show all
Defined in:
lib/bio/db/nexml/matrix.rb

Direct Known Subclasses

ContinuousCells, ContinuousSeqs

Constant Summary collapse

@@lookup =
{}

Instance Attribute Summary

Attributes inherited from Characters

#format, #id, #label, #matrix

Instance Method Summary collapse

Methods inherited from Characters

#add_format, #add_matrix, #create_format, #create_matrix, #create_raw, #initialize, #to_xml

Methods included from Mapper

#properties

Constructor Details

This class inherits a constructor from Bio::NeXML::Characters

Instance Method Details

#join_sequence(array) ⇒ Object



1039
1040
1041
# File 'lib/bio/db/nexml/matrix.rb', line 1039

def join_sequence( array )
  array.join(" ")
end

#lookupObject



1033
1034
1035
# File 'lib/bio/db/nexml/matrix.rb', line 1033

def lookup
  @@lookup
end

#split_sequence(string) ⇒ Object



1036
1037
1038
# File 'lib/bio/db/nexml/matrix.rb', line 1036

def split_sequence( string )
  string.split
end