From 9bbbe73c5b3e5b1ed8fe93b2b0f4d1c4e92ffe19 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 4 Oct 2022 23:44:33 -0700 Subject: [PATCH] Added todos [skip ci] --- lib/searchkick/results.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/searchkick/results.rb b/lib/searchkick/results.rb index 55a08eb..4af9094 100644 --- a/lib/searchkick/results.rb +++ b/lib/searchkick/results.rb @@ -3,6 +3,7 @@ module Searchkick include Enumerable extend Forwardable + # TODO remove klass and options in 6.0 attr_reader :klass, :response, :options def_delegators :results, :each, :any?, :empty?, :size, :length, :slice, :[], :to_ary @@ -13,6 +14,7 @@ module Searchkick @options = options end + # TODO make private in 6.0 def results @results ||= with_hit.map(&:first) end -- libgit2 0.21.0