# File lib/redis.rb, line 211
  def hgetall(key)
    synchronize do
      reply = @client.call [:hgetall, key]

      if reply.kind_of?(Array)
        Hash[*reply]
      else
        reply
      end
    end
  end