Class: HtmlNode

Inherits:
BaseNode show all
Defined in:
lib/volt/templates/targets/binding_document/html_node.rb

Instance Method Summary collapse

Constructor Details

#initialize(html) ⇒ HtmlNode

Returns a new instance of HtmlNode.



4
5
6
# File 'lib/volt/templates/targets/binding_document/html_node.rb', line 4

def initialize(html)
  @html = html
end

Instance Method Details

#to_htmlObject



8
9
10
# File 'lib/volt/templates/targets/binding_document/html_node.rb', line 8

def to_html
  @html
end