class Liquid::Any

Defined in:

liquid/any.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(any : Any) #

[View source]
def self.new(raw : Liquid::Type) #

[View source]
def self.new #

[View source]

Instance Method Detail

def [](index : Int) : Any #

[View source]
def [](key : Type) : Any #

Assumes the underlying value is a Hash and returns the element with the given key. Raises if the underlying value is not a Hash.


[View source]
def []=(key : String | Int, value : Type) : Type #

[View source]
def []?(key : Type) : Any #

[View source]
def compare(op : String, other : Any) #

[View source]
def each(&) #

[View source]
def has_key?(key : Type) #

[View source]
def include?(other : Any) #

[View source]
def iterable? #

[View source]
def non_blank_string? #

[View source]
def raw : Type #

[View source]
def to_i #

[View source]
def to_liquid #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def uninitialized? : Bool #

[View source]