Sha256: ed270a76acc7c3c7d10e7f22c4d02e41d3c2962c1266c52dc438a18a213e94b1

Contents?: true

Size: 237 Bytes

Versions: 11

Compression:

Stored size: 237 Bytes

Contents

module Liquid
  class Comment < Block
    def render(_context)
      ''.freeze
    end

    def unknown_tag(_tag, _markup, _tokens)
    end

    def blank?
      true
    end
  end

  Template.register_tag('comment'.freeze, Comment)
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
liquid-4.0.4 lib/liquid/tags/comment.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/liquid-4.0.3/lib/liquid/tags/comment.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/liquid-4.0.3/lib/liquid/tags/comment.rb
liquid-4.0.3 lib/liquid/tags/comment.rb
liquid-4.0.2 lib/liquid/tags/comment.rb
liquid-4-0-2-4.0.2 lib/liquid/tags/comment.rb
liquid-4.0.1 lib/liquid/tags/comment.rb
liquid-4.0.0 lib/liquid/tags/comment.rb
liquid-4.0.0.rc3 lib/liquid/tags/comment.rb
liquid-4.0.0.rc2 lib/liquid/tags/comment.rb
liquid-4.0.0.rc1 lib/liquid/tags/comment.rb