module Redis::Commands::Sets
def spop(key, count = nil)
-
count
(Integer
) -- -
key
(String
) --
Returns:
-
(String)
-
def spop(key, count = nil) if count.nil? send_command([:spop, key]) else send_command([:spop, key, Integer(count)]) end end