struct Template::Parameters

Overview

The structure used internally for free forms parameters. It is built following the same logic as JSON::Any and YAML::Any.

Defined in:

ute.cr

Constant Summary

Empty = new(Hash(String, Parameters).new)

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : Array(Template::Parameters) | Bool | Hash(String, Template::Parameters) | String) #

[View source]

Instance Method Detail

def [](key : String) : Parameters #

[View source]
def []?(key : String) : Parameters | Nil #

[View source]
def raw : Type #

[View source]
def to_s(io) #

[View source]