Sha256: 6f93871120c74dbf1b3ff00921c02970e72e70b9683039204f561bfa84411570
Contents?: true
Size: 447 Bytes
Versions: 15
Compression:
Stored size: 447 Bytes
Contents
module Liquid # An interrupt is any command that breaks processing of a block (ex: a for loop). class Interrupt attr_reader :message def initialize(message=nil) @message = message || "interrupt" end end # Interrupt that is thrown whenever a {% break %} is called. class BreakInterrupt < Interrupt; end # Interrupt that is thrown whenever a {% continue %} is called. class ContinueInterrupt < Interrupt; end end
Version data entries
15 entries across 15 versions & 5 rubygems