Class | Bio::GFF::GFF2::MetaData |
In: |
lib/bio/db/gff.rb
|
Parent: | Object |
data | [RW] | data of this entry |
directive | [RW] | Directive. Usually, one of "feature-ontology", "attribute-ontology", or "source-ontology". |
parses a line
# File lib/bio/db/gff.rb, line 778 778: def self.parse(line) 779: directive, data = line.chomp.split(/\s+/, 2) 780: directive = directive.sub(/\A\#\#/, '') if directive 781: self.new(directive, data) 782: end