Module: TDiary::Cache
- Defined in:
- lib/tdiary/cache/null.rb
Instance Method Summary collapse
- #clear_cache(target = :all) ⇒ Object
- #restore_cache(prefix) ⇒ Object
- #store_cache(cache, prefix) ⇒ Object
Instance Method Details
#clear_cache(target = :all) ⇒ Object
13 14 15 |
# File 'lib/tdiary/cache/null.rb', line 13 def clear_cache(target = :all) true end |
#restore_cache(prefix) ⇒ Object
5 6 7 |
# File 'lib/tdiary/cache/null.rb', line 5 def restore_cache(prefix) nil end |
#store_cache(cache, prefix) ⇒ Object
9 10 11 |
# File 'lib/tdiary/cache/null.rb', line 9 def store_cache(cache, prefix) true end |