Class: Hpricot::Doc

Inherits:
Object show all
Defined in:
lib/haml/html.rb

Instance Method Summary collapse

Instance Method Details

#to_haml(tabs = 0) ⇒ Object



80
81
82
83
84
# File 'lib/haml/html.rb', line 80

def to_haml(tabs = 0)
  output = ''
  children.each { |child| output += child.to_haml(0) } if children
  output
end