Class: HtmlNode
- Defined in:
- lib/volt/templates/targets/binding_document/html_node.rb
Instance Method Summary collapse
-
#initialize(html) ⇒ HtmlNode
constructor
A new instance of HtmlNode.
- #to_html ⇒ Object
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_html ⇒ Object
8 9 10 |
# File 'lib/volt/templates/targets/binding_document/html_node.rb', line 8 def to_html @html end |