class Marten::Template::Loader::FileSystem
Overview
A simple template loader that reads template contents from the file system.
Defined in:
marten/template/loader/file_system.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.
- #path : String
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.