class

Liquid::ForLoop

Inherits Liquid::Drop / Reference / Object

Constructors

new(collection : Array(Liquid::Any) | Hash(String, Liquid::Any) | Range(Int32, Int32), parentloop : Nil | Liquid::ForLoop)
Source

Instance methods

call(method : String) : Liquid::Any

Called by StackMachine to call a method from this Drop. Only public methods without parameters can be called here

each
Source
first
Source
index
Source
index0
Source
last
Source
length
Source
parentloop
Source
parentloop=(parentloop : Nil | Liquid::ForLoop)
Source
rindex
Source
rindex0
Source