Haml monkeypatches various Hpricot classes to add methods for conversion to Haml.
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]