Liquid::Cycle
Inherits Liquid::Tag / Reference / Object
Cycle is usually used within a loop to alternate between values, like colors or DOM classes.
{% for item in items %}
{{ item }}
{% end %}
Item one
Item two
Item three
Item four
Item five
Constants
NamedSyntax = /^(#{QuotedFragment})\s*\:\s*(.*)/
SimpleSyntax = /^#{QuotedFragment}+/
Constructors
new(tag_name, markup, tokens)
SourceInstance methods
render(context)
Source