Class: Hpricot::Comment

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

Instance Method Summary collapse

Instance Method Details

#to_haml(tabs = 0) ⇒ Object



125
126
127
# File 'lib/haml/html.rb', line 125

def to_haml(tabs = 0)
  "#{tabulate(tabs)}/\n#{parse_text(self.content, tabs + 1)}"
end