struct Liquid::Context
- Liquid::Context
- Struct
- Value
- Object
Defined in:
liquid/context.crConstructors
Instance Method Summary
- #[](key : String) : JSON::Any
- #[]=(key, value)
- #[]?(key : String) : JSON::Any | Nil
-
#get(key, strict : Bool = @strict)
key can include .
- #index_error(key, strict : Bool)
- #key_missing(key, strict : Bool)
- #parse_error(key, strict : Bool, message : String | Nil = nil)
-
#set(key, val)
alias for []=(key, val)
- #strict : Bool
- #strict=(strict : Bool)
Constructor Detail
Instance Method Detail
def get(key, strict : Bool = @strict)
#
key can include . (property/method access) and/or [] (array index)