mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
19 lines
397 B
Ruby
19 lines
397 B
Ruby
module Liquid
|
|
class Document < Block
|
|
# we don't need markup to open this block
|
|
def initialize(tokens, options = {})
|
|
@options = options
|
|
parse(tokens)
|
|
end
|
|
|
|
# There isn't a real delimiter
|
|
def block_delimiter
|
|
[]
|
|
end
|
|
|
|
# Document blocks don't need to be terminated since they are not actually opened
|
|
def assert_missing_delimitation!
|
|
end
|
|
end
|
|
end
|