class Wunderbar::CommentNode
Public Class Methods
new(text)
click to toggle source
# File lib/wunderbar/node.rb, line 244 def initialize(text) @text = text end
Public Instance Methods
serialize(options, result, indent)
click to toggle source
# File lib/wunderbar/node.rb, line 248 def serialize(options, result, indent) result << "#{indent}<!-- #{@text} -->" result end