module Crustache

Defined in:

crustache.cr
crustache/context.cr
crustache/engine.cr
crustache/filesystem.cr
crustache/parse_error.cr
crustache/stringify.cr
crustache/version.cr

Constant Summary

DEFAULT_FILENAME = "__str__"
VERSION = "2.4.3"

Class Method Summary

Macro Summary

Class Method Detail

def self.loader(basedir, extension = ViewLoader::EXTENSION) #

[View source]
def self.parse(io : IO, filename = DEFAULT_FILENAME, row = 1) #

[View source]
def self.parse(string : String, filename = DEFAULT_FILENAME, row = 1) #

[View source]
def self.parse_file(filename) #

[View source]
def self.render(tmpl, model, fs, io) #

[View source]
def self.render(tmpl, model, fs = HashFileSystem.new) #

[View source]

Macro Detail

macro loader_static(basedir, extension = [".mustache", ".html", ""]) #

[View source]
macro parse_file_static(filename) #

[View source]