Method: Bio::Blast::Default::Report#each_hit
- Defined in:
- lib/bio/appl/blast/format0.rb
#each_hit ⇒ Object Also known as: each
Iterates over each hit of the last iteration. Same as iterations.last.each_hit. Yields a Bio::Blast::Default::Report::Hit object. This is very useful in most cases, e.g. for blastall results.
178 179 180 181 182 |
# File 'lib/bio/appl/blast/format0.rb', line 178 def each_hit @iterations.last.each do |x| yield x end end |