Method: Wedge::DOM#to_html

Defined in:
lib/wedge/dom.rb

#to_htmlObject



105
106
107
108
109
# File 'lib/wedge/dom.rb', line 105

def to_html
  @dom ||= DOM.new '<div>'
  el = dom.first
  DOM.new('<div>').append(el).html
end