Class: Hpricot::CData

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



128
129
130
# File 'lib/haml/html.rb', line 128

def to_haml(tabs, options)
  "#{tabulate(tabs)}:cdata\n#{parse_text(self.content, tabs + 1)}"
end