Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/libxml_ext/libxml_helper.rb
Instance Method Summary collapse
Instance Method Details
#to_libxml_doc ⇒ Object
88 89 90 91 92 |
# File 'lib/libxml_ext/libxml_helper.rb', line 88 def to_libxml_doc xp = XML::Parser.new xp.string = self return xp.parse end |