Files
liquid/lib/liquid/document.rb
Jakub Kuźma ed1b542abf All tests pass on Ruby 1.9.1
Signed-off-by: Tobias Lütke <tobi@leetsoft.com>
2009-04-17 06:33:28 +08:00

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