Method: Redis::Distributed#hlen

Defined in:
lib/redis/distributed.rb

#hlen(key) ⇒ Object

Get the number of fields in a hash.



842
843
844
# File 'lib/redis/distributed.rb', line 842

def hlen(key)
  node_for(key).hlen(key)
end