Module: RedisCacheable::Connectable
- Extended by:
- ActiveSupport::Concern
- Included in:
- RedisCacheable
- Defined in:
- lib/redis_cacheable/connectable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#redis(&blk) ⇒ Object
38 39 40 41 42 |
# File 'lib/redis_cacheable/connectable.rb', line 38 def redis(&blk) raise ArgumentError.new("Need block") unless blk self.class.redis(&blk) end |