Class: Comment

Inherits:
Node
  • Object
show all
Defined in:
lib/emerald/nodes/comment.rb

Overview

Prints out the value of the comment’s text

Instance Method Summary collapse

Instance Method Details

#to_html(context) ⇒ Object



9
10
11
# File 'lib/emerald/nodes/comment.rb', line 9

def to_html(context)
  "<!-- #{text_content.to_html(context)} -->\n"
end