class Liquid::Template
- Liquid::Template
- Reference
- Object
Defined in:
liquid/template.crConstructors
- .new(root : Block::Root, template_path : String)
- .new(root : Block::Root)
- .parse(str : String) : Template
- .parse(file : File) : Template
Instance Method Summary
- #render(data, io = IO::Memory.new)
- #root : Liquid::Block::Root
- #template_path : String?
- #template_path=(template_path : Nil | String)
- #to_code(io_name : String, io : IO = IO::Memory.new, context : String | Nil = nil)