Class: Liquid::Comment

Inherits:
Block show all
Defined in:
lib/liquid/tags/comment.rb

Constant Summary

Constants inherited from Block

Block::MAX_DEPTH

Instance Attribute Summary

Attributes inherited from Tag

#line_number, #nodelist, #parse_context, #tag_name

Instance Method Summary collapse

Methods inherited from Block

#block_delimiter, #block_name, #initialize, #nodelist, #parse, #raise_tag_never_closed, raise_unknown_tag, #render

Methods inherited from Tag

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::Block

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/liquid/tags/comment.rb', line 25

def blank?
  true
end

#render_to_output_buffer(_context, output) ⇒ Object



18
19
20
# File 'lib/liquid/tags/comment.rb', line 18

def render_to_output_buffer(_context, output)
  output
end

#unknown_tag(_tag, _markup, _tokens) ⇒ Object



22
23
# File 'lib/liquid/tags/comment.rb', line 22

def unknown_tag(_tag, _markup, _tokens)
end