Class: Elastic::Results::HitCollection
- Inherits:
-
ScoredCollection
- Object
- Base
- ScoredCollection
- Elastic::Results::HitCollection
- Defined in:
- lib/elastic/results/hit_collection.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from ScoredCollection
#[], #count, #each, #each_with_score, #initialize, #last, #map_with_score, #traverse
Methods inherited from Base
Methods included from Support::Traversable
Constructor Details
This class inherits a constructor from Elastic::Results::ScoredCollection
Instance Method Details
#each_hit(&_block) ⇒ Object
3 4 5 |
# File 'lib/elastic/results/hit_collection.rb', line 3 def each_hit(&_block) collection.each(&_block) end |