Module: Cachable::InstanceMethods
- Defined in:
- lib/cachable.rb
Instance Method Summary collapse
Instance Method Details
#cache_store ⇒ Object
46 47 48 |
# File 'lib/cachable.rb', line 46 def cache_store @cache_store ||= nil end |
#cache_store=(store_option) ⇒ Object
50 51 52 |
# File 'lib/cachable.rb', line 50 def cache_store=(store_option) @cache_store = store_option end |
#is_caching? ⇒ Boolean
54 55 56 |
# File 'lib/cachable.rb', line 54 def is_caching? !@cache_store.nil? end |