module Redis::Props::HashMap

Public Instance Methods

redis_props_key(name) click to toggle source

Returns the final Redis Key of a certain Redis::Props, the value will be saved in redis with this key.

Example:

a User instance with id = 1 defines a Hash::Map named `submission_counts` -> users:1:submission_counts

@param [String] name

@return [String]

# File lib/redis/props/hash_map.rb, line 35
def redis_props_key(name)
  "#{object_key}:#{name}"
end