Class: Liquid::Document
Constant Summary
Constants inherited from Block
Block::ContentOfVariable, Block::FullToken, Block::IsTag, Block::IsVariable
Instance Attribute Summary
Attributes inherited from Tag
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 delimter.
-
#initialize(tokens) ⇒ Document
constructor
we don’t need markup to open this block.
Methods inherited from Block
#block_name, #create_variable, #end_tag, #parse, #render, #unknown_tag
Methods inherited from Tag
Constructor Details
#initialize(tokens) ⇒ Document
we don’t need markup to open this block
4 5 6 |
# File 'lib/liquid/document.rb', line 4 def initialize(tokens) parse(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 delimter
9 10 11 |
# File 'lib/liquid/document.rb', line 9 def block_delimiter [] end |