class Redis::Distributed
def rpoplpush(source, destination)
Remove the last element in a list, append it to another list and return
def rpoplpush(source, destination) ensure_same_node(:rpoplpush, [source, destination]) do |node| node.rpoplpush(source, destination) end end