class Redis
def zinterstore(destination, keys, options = {})
Intersect multiple sorted sets and store the resulting sorted set in a new
def zinterstore(destination, keys, options = {}) command = CommandOptions.new(options) do |c| c.splat :weights c.value :aggregate end synchronize do @client.call(:zinterstore, destination, keys.size, *(keys + command.to_a)) end end