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)


985
986
987
# File 'lib/tenjin.rb', line 985

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

#save(cachepath, template) ⇒ Object

Raises:

  • (NotImplementedError)


981
982
983
# File 'lib/tenjin.rb', line 981

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