Class: Tenjin::TemplateCache

Inherits:
Object
  • Object
show all
Defined in:
lib/tenjin.rb

Overview

abstract class for template cache

Direct Known Subclasses

FileBaseTemplateCache, NullTemplateCache

Instance Method Summary collapse

Instance Method Details

#load(cachepath, timestamp = nil) ⇒ Object

Raises:

  • (NotImplementedError)


996
997
998
# File 'lib/tenjin.rb', line 996

def load(cachepath, timestamp=nil)
  raise NotImplementedError.new("#{self.class.name}#load(): not implemented yet.")
end

#save(cachepath, template) ⇒ Object

Raises:

  • (NotImplementedError)


992
993
994
# File 'lib/tenjin.rb', line 992

def save(cachepath, template)
  raise NotImplementedError.new("#{self.class.name}#save(): not implemented yet.")
end