lib/meilisearch/rails/multi_search/result.rb in meilisearch-rails-0.12.0 vs lib/meilisearch/rails/multi_search/result.rb in meilisearch-rails-0.14.0

- old
+ new

@@ -28,11 +28,11 @@ results.each(&block) end end alias each each_hit - def each_result - @results.each + def each_result(&block) + @results.each(&block) end def to_a @results.values.flatten(1) end