Class: Expressir::Liquid::CacheDrop

Inherits:
ModelElementDrop show all
Defined in:
lib/expressir/liquid/cache_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

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

#contentObject



15
16
17
# File 'lib/expressir/liquid/cache_drop.rb', line 15

def content
  ::Expressir::Liquid::ModelElementDrop.new(@model.content)
end

#versionObject



11
12
13
# File 'lib/expressir/liquid/cache_drop.rb', line 11

def version
  @model.version
end