Class: Nokogiri::XML::NodeSet

Inherits:
Object
  • Object
show all
Defined in:
lib/html2haml/html.rb

Instance Method Summary collapse

Instance Method Details

#to_haml(tabs, options) ⇒ Object

See Also:

  • Html2haml::HTML::Node#to_haml

207
208
209
# File 'lib/html2haml/html.rb', line 207

def to_haml(tabs, options)
  self.inject('') {|s, c| s << c.to_haml(tabs, options)}
end