Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Liquid::Template
Inherits
Reference
<
Object
Constructors
new
(root :
Block::Root
, template_path :
String
)
Source
new
(root :
Block::Root
)
Source
parse
(str :
String
) :
Template
Source
parse
(file :
File
) :
Template
Source
Instance methods
render
(data, io =
IO::Memory
.new)
Source
root
Source
template_path
Source
template_path=
(template_path :
Nil
|
String
)
Source
to_code
(io_name :
String
, io :
IO
=
IO::Memory
.new, context :
String
|
Nil
= nil)
Source