module Redis::Commands::Lists

def rpoplpush(source, destination)

Returns:
  • (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)
  send_command([:rpoplpush, source, destination])
end