mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 00:35:40 +03:00
18 lines
357 B
Ruby
18 lines
357 B
Ruby
module Liquid
|
|
class Document < Block
|
|
# we don't need markup to open this block
|
|
def initialize(tokens)
|
|
parse(tokens)
|
|
end
|
|
|
|
# There isn't a real delimter
|
|
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
|