Class: Expressir::Liquid::CacheDrop
- Inherits:
-
ModelElementDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::CacheDrop
- Defined in:
- lib/expressir/liquid/cache_drop.rb
Instance Method Summary collapse
- #content ⇒ Object
-
#initialize(model) ⇒ CacheDrop
constructor
A new instance of CacheDrop.
- #version ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ CacheDrop
Returns a new instance of CacheDrop.
6 7 8 9 |
# File 'lib/expressir/liquid/cache_drop.rb', line 6 def initialize(model) @model = model super end |
Instance Method Details
#content ⇒ Object
15 16 17 |
# File 'lib/expressir/liquid/cache_drop.rb', line 15 def content ::Expressir::Liquid::ModelElementDrop.new(@model.content) end |
#version ⇒ Object
11 12 13 |
# File 'lib/expressir/liquid/cache_drop.rb', line 11 def version @model.version end |