Sha256: 90cf2f96c7f6402b5f16859c933c51ac8248e2b13e24bf7356756593295710e5
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true class ActiveOrm::Redis::HyperLogLog < ActiveOrm::Redis::Base class << self def create(key, member) client.pfadd(normalize_key(key), member) end def count(*args) client.pfcount(args) end def merge(key, *keys) client.pfmerge(normalize_key(key), keys) end end end
Version data entries
8 entries across 8 versions & 1 rubygems