class Liquid::Any
- Liquid::Any
- Reference
- Object
Defined in:
liquid/any.crConstructors
Instance Method Summary
- #[](index : Int) : Any
-
#[](key : Type) : Any
Assumes the underlying value is a Hash and returns the element with the given key.
- #[]=(key : String | Int, value : Type) : Type
- #[]?(key : Type) : Any
- #compare(op : String, other : Any)
- #each(&)
- #has_key?(key : Type)
- #include?(other : Any)
- #iterable?
- #non_blank_string?
- #raw : Type
- #to_i
- #to_liquid
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #uninitialized? : Bool
Constructor Detail
Instance Method Detail
Assumes the underlying value is a Hash and returns the element with the given key. Raises if the underlying value is not a Hash.
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
.