Class: Liquid::Document
Constant Summary
Constants inherited from Block
Block::ContentOfVariable, Block::FullToken, Block::TAGSTART, Block::VARSTART
Instance Attribute Summary
Attributes inherited from Tag
#line_number, #nodelist, #options, #warnings
Class Method Summary collapse
Instance Method Summary collapse
-
#assert_missing_delimitation! ⇒ Object
Document blocks don’t need to be terminated since they are not actually opened.
-
#block_delimiter ⇒ Object
There isn’t a real delimiter.
Methods inherited from Block
#blank?, #block_name, #create_variable, #parse, #render, #render_token_with_profiling, #unknown_tag, #warnings
Methods inherited from Tag
#blank?, #initialize, #name, #parse, #raw, #render
Methods included from ParserSwitching
Constructor Details
This class inherits a constructor from Liquid::Tag
Class Method Details
.parse(tokens, options = {}) ⇒ Object
3 4 5 6 |
# File 'lib/liquid/document.rb', line 3 def self.parse(tokens, ={}) # we don't need markup to open this block super(nil, nil, tokens, ) end |
Instance Method Details
#assert_missing_delimitation! ⇒ Object
Document blocks don’t need to be terminated since they are not actually opened
14 15 |
# File 'lib/liquid/document.rb', line 14 def assert_missing_delimitation! end |
#block_delimiter ⇒ Object
There isn’t a real delimiter
9 10 11 |
# File 'lib/liquid/document.rb', line 9 def block_delimiter [] end |