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



112
113
114
# File 'lib/haml/html.rb', line 112

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