Module: Haml::HTML::Node
- Included in:
- Hpricot::BaseEle, Hpricot::Node
- Defined in:
- lib/haml/html.rb
Overview
A module containing utility methods that every Hpricot node should have.
Instance Method Summary collapse
-
#to_haml(tabs, options) ⇒ Object
Returns the Haml representation of the given node.
Instance Method Details
#to_haml(tabs, options) ⇒ Object
Returns the Haml representation of the given node.
18 19 20 |
# File 'lib/haml/html.rb', line 18
def to_haml(tabs, options)
parse_text(self.to_s, tabs)
end
|