Sha256: be0c2e0c10c3170055704a6cc8d8bf0377e72c07582934f5b986dfcae030f3d0
Contents?: true
Size: 279 Bytes
Versions: 1
Compression:
Stored size: 279 Bytes
Contents
module Garterbelt class Comment < Text def initialize(opts) super end def template style == :text ? "" : "#{indent}<!-- #{content} -->#{line_end}" end def render raise_with_block_content output << template end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
garterbelt-0.1.1 | lib/renderers/comment.rb |