Method: Bio::FlatFile.autodetect

Defined in:
lib/bio/io/flatfile.rb

.autodetect(text) ⇒ Object

Detects database class (== file format) of given string. If fails to determine, returns false or nil.



460
461
462
# File 'lib/bio/io/flatfile.rb', line 460

def self.autodetect(text)
  AutoDetect.default.autodetect(text)
end