Class: Hpricot::Doc

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

Overview

See Also:

Instance Method Summary collapse

Instance Method Details

#to_haml(tabs, options) ⇒ Object



149
150
151
# File 'lib/haml/html.rb', line 149

def to_haml(tabs, options)
  (children || []).inject('') {|s, c| s << c.to_haml(0, options)}
end