Class: Liquid::Comment

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

Constant Summary

Constants inherited from Block

Block::ContentOfVariable, Block::FullToken, Block::IsTag, Block::IsVariable

Instance Attribute Summary

Attributes inherited from Tag

#line, #nodelist, #options, #warnings

Instance Method Summary collapse

Methods inherited from Block

#block_delimiter, #block_name, #create_variable, #end_tag, #parse, #warnings

Methods inherited from Tag

#initialize, #name, new_with_options, #parse, #parse_with_selected_parser

Constructor Details

This class inherits a constructor from Liquid::Tag

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

def blank?
  true
end

#render(context) ⇒ Object



3
4
5
# File 'lib/liquid/tags/comment.rb', line 3

def render(context)
  ''
end

#unknown_tag(tag, markup, tokens) ⇒ Object



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

def unknown_tag(tag, markup, tokens)
end