module Celestite

Defined in:

celestite.cr
celestite/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

Class Method Detail

def self.initialize(**options) : Renderer #

Celestite.initialize does the full range of initialization (launches all processes) to get the renderer going


[View source]
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.


[View source]
def self.renderer : Renderer | Nil #

Make an init'd renderer available on the module in cases where it's tough to pass the object (i.e. Amber)


[View source]