class Marten::Template::Value

Overview

A template value.

Included Modules

Defined in:

marten/template/value.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(raw : Raw) #

[View source]

Class Method Detail

def self.from(raw) #

[View source]

Instance Method Detail

def <=>(other : Value) #

[View source]
def ==(other : Value) #

[View source]
def ==(other) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def [](key : String) : Value #

[View source]
def each(&) #
Description copied from module Enumerable(Marten::Template::Value)

Must yield this collection's elements to the block.


[View source]

Returns the raw value associated with the template value.


[View source]
def truthy? #

[View source]