Class: Skala::Adapter::Search::Result

Inherits:
Operation::Result show all
Includes:
Enumerable
Defined in:
lib/skala/adapter/search/result.rb

Defined Under Namespace

Classes: Facet, HistogramFacet, Hit, TermsFacet

Instance Method Summary collapse

Instance Method Details

#eachObject



19
20
21
# File 'lib/skala/adapter/search/result.rb', line 19

def each
  block_given? ? hits.each { |_element| yield _element } : hits.each
end