Module Haml::HTML::
In: lib/haml/html.rb

Haml monkeypatches various Hpricot classes to add methods for conversion to Haml.

Methods

to_haml  

Public Instance methods

Returns the Haml representation of the given node.

@param tabs [Fixnum] The indentation level of the resulting Haml. @option options (see Haml::HTML#initialize)

[Source]

    # File lib/haml/html.rb, line 56
56:       def to_haml(tabs, options)
57:         parse_text(self.to_s, tabs)
58:       end

[Validate]