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
aslakjo-aslakjo-comatose-2.0.5.1 lib/liquid/document.rb
aslakjo-comatose-2.0.5.2 lib/liquid/document.rb
aslakjo-comatose-2.0.5.3 lib/liquid/document.rb
darthapo-comatose-2.0.3 lib/liquid/document.rb
darthapo-comatose-2.0.4 lib/liquid/document.rb
darthapo-comatose-2.0.5 lib/liquid/document.rb
darthapo-comatose-2.0 lib/liquid/document.rb
jcnetdev-comatose-2.0.1 lib/liquid/document.rb
qoobaa-liquid-2.0.1 lib/liquid/document.rb
staugaard-comatose-2.0.2 lib/liquid/document.rb
staugaard-comatose-2.0.3 lib/liquid/document.rb
comatose-2.0.5 lib/liquid/document.rb
comatose-2.0.1 lib/liquid/document.rb
aslakjo-comatose-2.0.5.12 lib/liquid/document.rb
aslakjo-comatose-2.0.5.11 lib/liquid/document.rb
aslakjo-comatose-2.0.5.10 lib/liquid/document.rb
aslakjo-comatose-2.0.5.9 lib/liquid/document.rb
aslakjo-comatose-2.0.5.8 lib/liquid/document.rb
aslakjo-comatose-2.0.5.7 lib/liquid/document.rb
liquid-2.0.0 lib/liquid/document.rb