Method: Redis::Objects::ClassMethods#redis_options

Defined in:
lib/redis/objects.rb

#redis_options(name) ⇒ Object



191
192
193
194
# File 'lib/redis/objects.rb', line 191

def redis_options(name)
  klass = first_ancestor_with(name)
  return klass.redis_objects[name.to_sym] || {}
end