Class: Nokogiri::XML::Document
- Inherits:
-
Object
- Object
- Nokogiri::XML::Document
- Defined in:
- lib/html2haml/html.rb
Overview
Instance Method Summary collapse
Instance Method Details
#to_haml(tabs, options) ⇒ Object
193 194 195 |
# File 'lib/html2haml/html.rb', line 193 def to_haml(tabs, ) (children || []).inject('') {|s, c| s << c.to_haml(0, )} end |