class Redis

def hlen(key)

Get the number of fields in a hash.
def hlen(key)
  synchronize do
    @client.call(:hlen, key)
  end
end