Sha256: f7aa11f0c2751cad09fc98453b743388ef9429f248ecc9e98fbfd6a25ea9b44e

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

module Garterbelt
  class Comment < Text
    max_pool_size 1000
    
    def initialize(opts)
      super
    end
    
    def render
      raise_with_block_content
      output << "#{indent}<!-- #{content} -->\n"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
garterbelt-0.0.4 lib/renderers/comment.rb
garterbelt-0.0.3 lib/renderers/comment.rb
garterbelt-0.0.2 lib/renderers/comment.rb