module Celestite
Defined in:
celestite.crcelestite/amber.cr
celestite/config.cr
celestite/context.cr
celestite/engine.cr
celestite/renderer.cr
celestite/version.cr
Constant Summary
-
VERSION =
"0.1.5"
Class Method Summary
-
.initialize(**options) : Renderer
Celestite.initialize does the full range of initialization (launches all processes) to get the renderer going
-
.render(component : String | Nil, context : Celestite::Context | Nil = nil, layout : String | Nil = nil)
This exposes the render class on the module, in cases (i.e.
-
.renderer : Renderer | Nil
Make an init'd renderer available on the module in cases where it's tough to pass the object (i.e.
Class Method Detail
Celestite.initialize does the full range of initialization (launches all processes) to get the renderer going
def self.render(component : String | Nil, context : Celestite::Context | Nil = nil, layout : String | Nil = nil)
#
This exposes the render class on the module, in cases (i.e. Amber) where you can't easily pass around the render instance.
Make an init'd renderer available on the module in cases where it's tough to pass the object (i.e. Amber)