Sha256: 83192192c74b1db72858f833669e520f811d10629a3256115cf30734cd70a429
Contents?: true
Size: 375 Bytes
Versions: 23
Compression:
Stored size: 375 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'.freeze, Continue) end
Version data entries
23 entries across 23 versions & 4 rubygems