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)


12
13
14
# File 'lib/liquid/tags/comment.rb', line 12

def blank?
  true
end

#render_to_output_buffer(_context, output) ⇒ Object



5
6
7
# File 'lib/liquid/tags/comment.rb', line 5

def render_to_output_buffer(_context, output)
  output
end

#unknown_tag(_tag, _markup, _tokens) ⇒ Object



9
10
# File 'lib/liquid/tags/comment.rb', line 9

def unknown_tag(_tag, _markup, _tokens)
end