Sha256: ad710dc052dc5a24c05346cfe3442adee239a90c6b5d494ff9d90ee05901b89a

Contents?: true

Size: 500 Bytes

Versions: 24

Compression:

Stored size: 500 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 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

Version data entries

24 entries across 24 versions & 9 rubygems

Version Path
liquid-1.9.0 lib/liquid/document.rb
liquid-1.7.0 lib/liquid/document.rb
merb_comatose-0.0.2 lib/liquid/document.rb
merb_comatose-0.0.3 lib/liquid/document.rb