Sha256: 284ba43a53532f82f6eb49be25dc74b5ab6a806be601f7e98770580b482fa5c0
Contents?: true
Size: 372 Bytes
Versions: 8
Compression:
Stored size: 372 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
8 entries across 8 versions & 3 rubygems