class Jbuilder

Defined in:

jbuilder.cr
jbuilder/embed.cr
jbuilder/version.cr

Constant Summary

VERSION = "1.0.0"

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(result : Hash(String, Jbuilder::BasicObject) = Hash(String, BasicObject).new) #

[View source]
def self.new(&) : Hash #

[View source]

Instance Method Detail

def array!(key : String, array) #

[View source]
def array!(key : String, array, &) #

[View source]
def hash!(key : String, hash) #

[View source]
def merge!(hash : Hash) #

[View source]
def set!(key : String, value : Array) #

[View source]
def set!(key : String, value : Tuple) #

[View source]
def set!(key : String, value : Hash) #

[View source]
def set!(key : String, value : NamedTuple) #

[View source]
def set!(key : String, value : BasicType) #

[View source]
def to_h : Hash #

[View source]

Macro Detail

macro embed(filename, io_name, layout_file = nil) #

[View source]
macro method_missing(call) #

[View source]