Class: Bio::NeXML::CellMatrix

Inherits:
Matrix
  • Object
show all
Defined in:
lib/bio/db/nexml/matrix.rb

Instance Attribute Summary

Attributes inherited from Matrix

#id

Instance Method Summary collapse

Methods inherited from Matrix

#add_row, #initialize, #to_xml

Methods included from Mapper

#properties

Constructor Details

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

Instance Method Details

#create_row(options = {}) ⇒ Object



637
638
639
640
641
# File 'lib/bio/db/nexml/matrix.rb', line 637

def create_row( options = {} )
  row = CellRow.new( Bio::NeXML.generate_id( CellRow ), options )
  add_row row
  row        
end