module Celestite::Renderer
Direct including types
Defined in:
celestite/renderer.crConstant Summary
-
Log =
::Log.for(("celestite".colorize(:light_green)).to_s)
Constructors
Instance Method Summary
- #errors : IO::Memory
- #kill_process_tree(pid : Int)
- #kill_server
- #node_process : Process | Nil
- #render(path : String | Nil, context : Celestite::Context | Nil = nil, template : String | Nil = @default_template)
- #spawn_process
- #start_server
Constructor Detail
def self.new(component_dir = nil, routes_file = nil, port = 4000, template_dir = nil, default_template = nil, build_dir = nil, build_dir_public_path = nil)
#
Instance Method Detail
def render(path : String | Nil, context : Celestite::Context | Nil = nil, template : String | Nil = @default_template)
#