Class | Bio::FlatFile::AutoDetect::RuleTemplate |
In: |
lib/bio/io/flatfile/autodetection.rb
|
Parent: | Object |
Template of a single rule of autodetection
dbclasses | [R] | database classes |
higher_priority_elements | [R] | higher priority elements |
lower_priority_elements | [R] | lower priority elements |
name | [RW] | unique name of the element |
If given text (and/or meta information) is known, returns the database class. Otherwise, returns nil or false.
text will be a String. meta will be a Hash. meta may contain following keys. :path => pathname, filename or uri.
# File lib/bio/io/flatfile/autodetection.rb, line 76 76: def guess(text, meta) 77: nil 78: end