Sha256: 61653d10ca0ffc07bdcc2d6b7cb4b32298c0bd36e124c511fbfe00e85be161d8

Contents?: true

Size: 203 Bytes

Versions: 3

Compression:

Stored size: 203 Bytes

Contents

module Garterbelt
  class Comment < Text
    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.7 lib/renderers/comment.rb
garterbelt-0.0.6 lib/renderers/comment.rb
garterbelt-0.0.5 lib/renderers/comment.rb