class Liquid::ForLoop
- Liquid::ForLoop
- Liquid::Drop
- Reference
- Object
Defined in:
liquid/for_loop.crConstructors
Instance Method Summary
-
#call(method : String) : Liquid::Any
Called by
StackMachine
to call a method from thisDrop
. - #each(&)
- #first
- #index
- #index0 : Int32
- #last
- #length
- #parentloop
- #parentloop=(parentloop : Nil | Liquid::ForLoop)
- #rindex
- #rindex0
Instance methods inherited from class Liquid::Drop
[](method : String) : Liquid::Any
[],
call(method : String) : Liquid::Any
call
Constructor Detail
def self.new(collection : Array(Liquid::Any) | Hash(String, Liquid::Any) | Range(Int32, Int32), parentloop : Nil | Liquid::ForLoop)
#
Instance Method Detail
Description copied from class Liquid::Drop
Called by StackMachine
to call a method from this Drop
.
Only public methods without parameters can be called here