Class: FakeRedis::SortedSetUnionStore
- Inherits:
-
SortedSetStore
- Object
- SortedSetStore
- FakeRedis::SortedSetUnionStore
- Defined in:
- lib/fakeredis/sorted_set_store.rb
Instance Attribute Summary
Attributes inherited from SortedSetStore
#aggregate, #data, #keys, #weights
Instance Method Summary collapse
Methods inherited from SortedSetStore
#aggregate_max, #aggregate_min, #aggregate_sum, #call, #computed_values, #hashes, #initialize
Constructor Details
This class inherits a constructor from FakeRedis::SortedSetStore
Instance Method Details
#selected_keys ⇒ Object
76 77 78 |
# File 'lib/fakeredis/sorted_set_store.rb', line 76 def selected_keys @values ||= hashes.map(&:keys).flatten.uniq end |