class Redis

def rpop(key)

Remove and get the last element in a list.
def rpop(key)
  synchronize do
    @client.call(:rpop, key)
  end
end