class Rediska::SortedSetIntersectStore

Public Instance Methods

selected_keys() click to toggle source
# File lib/rediska/sorted_set_store.rb, line 70
def selected_keys
  @values ||= hashes.inject([]) { |r, h| r.empty? ? h.keys : (r & h.keys) }
end