Method: Redis::Distributed#zinter

Defined in:
lib/redis/distributed.rb

#zinter(*keys, **options) ⇒ Object

Get the intersection of multiple sorted sets



792
793
794
795
796
797
# File 'lib/redis/distributed.rb', line 792

def zinter(*keys, **options)
  keys.flatten!(1)
  ensure_same_node(:zinter, keys) do |node|
    node.zinter(keys, **options)
  end
end