# File lib/redis.rb, line 1636 def zinterstore(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 [:zinterstore, destination, keys.size, *(keys + args)] end end