class Marten::Template::Loader::AppDirs
Overview
Represents a template loader allowing to load templates from the installed application directories.
Defined in:
marten/template/loader/app_dirs.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.