Class: Rexle::Element
- Inherits:
-
Object
- Object
- Rexle::Element
- Defined in:
- lib/free_dom.rb
Instance Method Summary collapse
Instance Method Details
#to_sliml ⇒ Object
11 12 13 14 15 16 |
# File 'lib/free_dom.rb', line 11 def to_sliml() xml = self.xml(pretty: true) XmlToSliml.new(xml.gsub(/ style=''/,"")).to_s end |