Module: Cachable::InstanceMethods
- Defined in:
- lib/cachable.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cache_store ⇒ Object
50 51 52 |
# File 'lib/cachable.rb', line 50 def cache_store @cache_store ||= nil end |
#store_options ⇒ Object
54 55 56 |
# File 'lib/cachable.rb', line 54 def @store_options ||= {} end |
Instance Method Details
#is_caching? ⇒ Boolean
58 59 60 |
# File 'lib/cachable.rb', line 58 def is_caching? !@cache_store.nil? end |