Module: RenuoCmsRails::Cache
- Defined in:
- lib/renuo_cms_rails/cache.rb,
lib/renuo_cms_rails/cache/cacher.rb
Defined Under Namespace
Classes: Cacher
Class Method Summary collapse
-
.cache ⇒ Object
Returns the value of attribute cache.
-
.get ⇒ String
Gets the content if the content with the content_path is in the cache, nil otherwise.
- .initialize_cache ⇒ Object
Class Method Details
.cache ⇒ Object
Returns the value of attribute cache.
7 8 9 |
# File 'lib/renuo_cms_rails/cache.rb', line 7 def cache @cache end |
.get ⇒ String
Gets the content if the content with the content_path is in the cache, nil otherwise.
16 |
# File 'lib/renuo_cms_rails/cache.rb', line 16 delegate :get, to: :cache |