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, context) ⇒ 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, context) ⇒ Document
we don’t need markup to open this block
4 5 6 7 |
# File 'lib/liquid/document.rb', line 4 def initialize(tokens, context) @context = context parse(tokens) end |
Instance Method Details
#assert_missing_delimitation! ⇒ Object
Document blocks don’t need to be terminated since they are not actually opened
15 16 |
# File 'lib/liquid/document.rb', line 15 def assert_missing_delimitation! end |
#block_delimiter ⇒ Object
There isn’t a real delimter
10 11 12 |
# File 'lib/liquid/document.rb', line 10 def block_delimiter [] end |