class Marten::Template::Loader::Cached
Overview
A template loader that allows to persist compiled template in a memory cache.
Defined in:
marten/template/loader/cached.crConstructors
Instance Method Summary
-
#get_template(template_name) : Template
Returns a
Marten::Template::Template
compiled template from a specific template name. -
#get_template_source(template_name) : String
Returns the raw content of template from a specific template name.
Instance methods inherited from class Marten::Template::Loader::Base
get_template(template_name) : Template
get_template,
get_template_source(template_name) : String
get_template_source
Constructor Detail
Instance Method Detail
Description copied from class Marten::Template::Loader::Base
Returns a Marten::Template::Template
compiled template from a specific template name.
def get_template_source(template_name) : String
#
Description copied from class Marten::Template::Loader::Base
Returns the raw content of template from a specific template name.