Module Haml::HTML::

  1. lib/haml/html.rb

Methods

public instance

  1. to_haml

Public instance methods

to_haml (tabs = 0)

Returns the Haml representation of the given node, at the given tabulation.

[show source]
    # File lib/haml/html.rb, line 46
46:       def to_haml(tabs = 0)
47:         parse_text(self.to_s, tabs)
48:       end