class Liquid::Comment
@liquid_public_docs @liquid_type tag @liquid_category syntax @liquid_name comment @liquid_summary
Prevents an expression from being rendered or output.
@liquid_description
Any text inside `comment` tags won't be output, and any Liquid code won't be rendered.
@liquid_syntax
{% comment %} content {% endcomment %}
@liquid_syntax_keyword content The content of the comment.
Public Instance Methods
blank?()
click to toggle source
# File lib/liquid/tags/comment.rb, line 25 def blank? true end
render_to_output_buffer(_context, output)
click to toggle source
# File lib/liquid/tags/comment.rb, line 18 def render_to_output_buffer(_context, output) output end
unknown_tag(_tag, _markup, _tokens)
click to toggle source
# File lib/liquid/tags/comment.rb, line 22 def unknown_tag(_tag, _markup, _tokens) end