Module: Bio::GFFbrowser::Helpers::Sections
- Defined in:
- lib/bio/db/gff/gffsection.rb
Class Method Summary collapse
-
.sort(rec) ⇒ Object
Return list of sorted Sections.
Class Method Details
.sort(rec) ⇒ Object
Return list of sorted Sections
28 29 30 31 32 33 34 |
# 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 |