class Redis
def rpoplpush(source, destination)
-
(nil, String)
- the element, or nil when the source key does not exist
Parameters:
-
destination
(String
) -- destination key -
source
(String
) -- source key
def rpoplpush(source, destination) synchronize do |client| client.call [:rpoplpush, source, destination] end end