Sha256: 9bfb9a1f46bbf03f5fde3ae7457712a1744b28aa6caab4c6bc96a3ff2396e149
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
module Liquid # Continue tag to be used to break out of a for loop. # # == Basic Usage: # {% for item in collection %} # {% if item.condition %} # {% continue %} # {% endif %} # {% endfor %} # class Continue < Tag def interrupt ContinueInterrupt.new end end Template.register_tag('continue', Continue) end
Version data entries
7 entries across 7 versions & 3 rubygems