Sha256: fda33f93f4837d7f7d7ed0925ec2d5953f6b9d921745910ab230e8e763391a54

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms-liquid-2.6.0 lib/liquid/document.rb