class Liquid::Break
{% break %}
@liquid_syntax
Stops a [‘for` loop](/docs/api/liquid/tags/for) from iterating.
@liquid_summary
@liquid_name break
@liquid_category iteration
@liquid_type tag
@liquid_public_docs
{% endfor %}
{% endif %}
{% break %}
{% if item.condition %}
{% for item in collection %}
== Basic Usage:
Break tag to be used to break out of a for loop.
def render_to_output_buffer(context, output)
def render_to_output_buffer(context, output) context.push_interrupt(INTERRUPT) output end