lib/renderers/comment.rb in garterbelt-0.1.0 vs lib/renderers/comment.rb in garterbelt-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
def initialize(opts)
super
end
def template
- view.render_style == :text ? "" : "#{indent}<!-- #{content} -->#{line_end}"
+ style == :text ? "" : "#{indent}<!-- #{content} -->#{line_end}"
end
def render
raise_with_block_content
output << template
\ No newline at end of file