class Crustache::ViewLoader

Defined in:

crustache/filesystem.cr

Constant Summary

EXTENSION = [".mustache", ".html", ""]

Constructors

Instance Method Summary

Instance methods inherited from class Crustache::FileSystem

load(value) : Syntax::Template | Nil load, load!(value) load!

Constructor Detail

def self.new(basedir : String, use_cache : Bool = false, extension : Array(String) = EXTENSION) #

[View source]

Instance Method Detail

def load(value) : Syntax::Template | Nil #

[View source]