Module: Bio::GFFbrowser::Helpers::Sections

Defined in:
lib/bio/db/gff/gffassemble.rb

Class Method Summary collapse

Class Method Details

.sort(rec) ⇒ Object

Return list of sorted Sections



115
116
117
118
119
120
121
# File 'lib/bio/db/gff/gffassemble.rb', line 115

def Sections::sort rec
  sections = []
  rec.each do | section |
    sections.push Section.new(section)
  end
  sections.sort
end