module Bio::GFFbrowser::Helpers::Sections

Public Class Methods

sort(rec) click to toggle source

Return list of sorted Sections

# File lib/bio/db/gff/gffsection.rb, line 28
def Sections::sort rec
  sections = []
  rec.each do | section |
    sections.push Section.new(section)
  end
  sections.sort
end