Sha256: 9560710ad1e6502248610f78056c8dde2473fd41f733f722986ecd440ea1f786

Contents?: true

Size: 358 Bytes

Versions: 6

Compression:

Stored size: 358 Bytes

Contents

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 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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
liquid-2.6.3 lib/liquid/document.rb
liquid-2.6.2 lib/liquid/document.rb
liquid-2.6.1 lib/liquid/document.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/liquid-2.6.0/lib/liquid/document.rb
liquid-2.6.0 lib/liquid/document.rb
liquid-2.6.0.rc1 lib/liquid/document.rb