Class: Bio::NeXML::Standard

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

Direct Known Subclasses

StandardCells, StandardSeqs

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



1017
1018
1019
# File 'lib/bio/db/nexml/matrix.rb', line 1017

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

#lookupObject



1011
1012
1013
# File 'lib/bio/db/nexml/matrix.rb', line 1011

def lookup
  @@lookup
end

#split_sequence(string) ⇒ Object



1014
1015
1016
# File 'lib/bio/db/nexml/matrix.rb', line 1014

def split_sequence( string )
  string.split
end