Class: Expressir::Model::Cache
- Inherits:
-
ModelElement
- Object
- ModelElement
- Expressir::Model::Cache
- Defined in:
- lib/expressir/model/cache.rb
Overview
Cache content object with Expressir version
Instance Attribute Summary
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Cache
constructor
A new instance of Cache.
Methods inherited from ModelElement
#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s
Constructor Details
#initialize(options = {}) ⇒ Cache
Returns a new instance of Cache.
11 12 13 14 |
# File 'lib/expressir/model/cache.rb', line 11 def initialize( = {}) @version = [:version] @content = [:content] end |