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

A module containing utility methods that every Hpricot node should have.

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 16
16:       def to_haml(tabs, options)
17:         parse_text(self.to_s, tabs)
18:       end

[Validate]