Class: Liquid::Continue

Inherits:
Tag
  • Object
show all
Defined in:
lib/liquid/tags/continue.rb

Constant Summary collapse

INTERRUPT =
ContinueInterrupt.new.freeze

Instance Attribute Summary

Attributes inherited from Tag

#line_number, #nodelist, #parse_context, #tag_name

Instance Method Summary collapse

Methods inherited from Tag

#blank?, disable_tags, #initialize, #name, #parse, parse, #raw, #render

Methods included from ParserSwitching

#parse_with_selected_parser, #strict_parse_with_error_mode_fallback

Constructor Details

This class inherits a constructor from Liquid::Tag

Instance Method Details

#render_to_output_buffer(context, output) ⇒ Object



15
16
17
18
# File 'lib/liquid/tags/continue.rb', line 15

def render_to_output_buffer(context, output)
  context.push_interrupt(INTERRUPT)
  output
end