class Redis

def hlen(key)

Returns:
  • (Fixnum) - number of fields in the hash

Parameters:
  • key (String) --
def hlen(key)
  synchronize do |client|
    client.call [:hlen, key]
  end
end