class Redis

def strlen(key)

Returns:
  • (Fixnum) - the length of the value stored in the key, or 0

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