module Lender

Defined in:

lender.cr

Constant Summary

VERSION = "0.3.1"

Instance Method Summary

Macro Summary

Instance Method Detail

def lender_content(content : String, ctx : Liquid::Context) : String #

[View source]
def lender_file(file : File, ctx : Liquid::Context, base_path : String = ".") : String #

base_path arg not used in this variant, just there to make signatures match


[View source]
def lender_file(path : String, ctx : Liquid::Context, base_path : String = ".") : String #

[View source]

Macro Detail

macro lender(file) #

For frameworks, where lender_context and lender_base_path will typically be preset by controllers, we define macros, to avoid the need for the extra arguments.


[View source]
macro lender_string(string) #

For frameworks, where lender_context and lender_base_path will typically be preset by controllers, we define macros, to avoid the need for the extra arguments.


[View source]