Method: Bio::FlatFile.to_a

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

.to_a(*arg) ⇒ Object

Same as FlatFile.auto(filename_or_stream, *arg).to_a

(This method might be OBSOLETED in the future.)



129
130
131
132
133
134
# File 'lib/bio/io/flatfile.rb', line 129

def self.to_a(*arg)
  self.auto(*arg) do |ff|
    raise 'cannot determine file format' unless ff.dbclass
    ff.to_a
  end
end