Class: XML
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Tree
#children, #data, #parent, #visible
Instance Method Summary collapse
Methods inherited from SGML
#buildobjects, #initialize, #to_h, #to_s
Methods inherited from Tree
#buildchildren, #buildobjects, #buildparents, #deletedummies, file, #initialize, #inspect, location, #markclosed, new_from_cache, new_from_cache2, #parse, #path
Methods included from ParseTree
Methods included from TextArray
Constructor Details
This class inherits a constructor from SGML
Instance Method Details
#to_x(closetags = true) ⇒ Object
94 95 96 97 98 99 100 |
# File 'lib/rwd/xml.rb', line 94 def to_x(=true) res = "" parsetree("prechildren_to_x", "postchildren_to_x", res, ) res end |