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.
196 197 198 199 200 |
# File 'lib/bio/appl/blast/format0.rb', line 196 def each_hit @iterations.last.each do |x| yield x end end |