Method: Bio::FlatFile.foreach
- Defined in:
- lib/bio/io/flatfile.rb
.foreach(*arg) ⇒ Object
194 195 196 197 198 199 200 |
# File 'lib/bio/io/flatfile.rb', line 194 def self.foreach(*arg) self.open(*arg) do |flatfileobj| flatfileobj.each do |entry| yield entry end end end |