# File lib/redis.rb, line 1663 def zunionstore(destination, keys, options = {}) args = [] weights = options[:weights] args.concat ["WEIGHTS", *weights] if weights aggregate = options[:aggregate] args.concat ["AGGREGATE", aggregate] if aggregate synchronize do |client| client.call [:zunionstore, destination, keys.size, *(keys + args)] end end