Module: Memorize
- Defined in:
- lib/memorize.rb,
lib/memorize/keys.rb,
lib/memorize/action.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.cache_store ⇒ Object
5 6 7 |
# File 'lib/memorize.rb', line 5 def cache_store @cache_store || ActiveSupport::Cache.lookup_store(:memory_store) end |
.cache_store=(cs) ⇒ Object
9 10 11 |
# File 'lib/memorize.rb', line 9 def cache_store=(cs) @cache_store = cs end |