class Liquid::Document

Public Class Methods

parse(tokens, options={}) click to toggle source
Calls superclass method Liquid::Block#parse
# File lib/liquid/document.rb, line 3
def self.parse(tokens, options={})
  # we don't need markup to open this block
  super(nil, nil, tokens, options)
end

Public Instance Methods

assert_missing_delimitation!() click to toggle source

Document blocks don't need to be terminated since they are not actually opened

# File lib/liquid/document.rb, line 14
def assert_missing_delimitation!
end
block_delimiter() click to toggle source

There isn't a real delimiter

# File lib/liquid/document.rb, line 9
def block_delimiter
  []
end