Method: Redis::Distributed#zunion

Defined in:
lib/redis/distributed.rb

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

Return the union of multiple sorted sets.



809
810
811
812
813
814
# File 'lib/redis/distributed.rb', line 809

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