class Redis

def lpop(key)

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